Configuration interfaces
Shared fields
OAuth application ID from the Mio dashboard. Exposed to the browser.
Absolute URL where Mio sends users back after the connection flow. Must match the redirect configured in the Mio dashboard.
Client-only fields
Backend endpoint that swaps authorization codes for tokens on behalf of the browser.
Server-only fields
Confidential secret used only on the server when exchanging or refreshing tokens.
Token response schema
Short-lived token for Mio Context requests.
Use it to mint new access tokens.
JWT that contains user identity claims.
Seconds until the access token expires.
HTTP scheme for the
Authorization header.Context response schema
MioChatResponseSchema) and returns the string directly so you can render it without parsing.