Authentication

Complete the OAuth authorization process by exchanging the authorization code for a session token.

post/oauth/callback

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/oauth/callback
  • Auth: none declared

Request body

codeVerifierstring

OAuth code verifier (PKCE)

statestring

OAuth state parameter

urlstring required

OAuth callback URL

Response

accessTokenstring required

Access token

isAdminboolean required

Is admin user

isOnboardedboolean required

Is onboarded

namestring required

User name

profileImagePathstring required

Profile image path

shouldChangePasswordboolean required

Should change password

userEmailstring email required

User email

userIdstring uuid required

User ID

Changes

    • info

      the response's property pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$ was added for the status