Auth

Complete SSO

Complete the SSO authentication flow with the authorization code from the SSO provider. Returns authentication token and user information.

post/auth/sso/complete

Request body

codestring required

Authorization code from the SSO provider

statestring required

State parameter for CSRF protection

Response

Success

tokenstring required

Authentication token for the session

user_idstring required

ID of the authenticated user

redirect_tostring required

URL to redirect the user to after completion

Changes

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