auth

Ms365 Callback

Handle MS365 OAuth callback and exchange code for Tokuma JWT tokens.

post/v1/auth/ms365/callback

Request

  • Base URL
    https://app.tokumalabs.com/api
  • Auth
    none declared. Required headers: x-device-id

Headers

x-device-idstring required
x-device-namestring nullable
x-platformstring nullable
x-app-versionstring nullable

Request body

codestring required

Authorization code from Microsoft

statestring required

OAuth state parameter received from Microsoft

code_verifierstring required

PKCE code verifier (original random string)

redirect_uristring required

Same redirect URI used in initiate request

Response

Successful Response

access_tokenstring required

JWT access token

token_typestring

Token type

expires_in_secondsinteger required

Token expiration time in seconds

scopestring

OAuth2 scopes

Changes

No recorded changes to this operation across all 1 revision of this API.