Internal OAuth
Internal OAuth

Store Authorization Code

Store an OAuth authorization code in the database.

Called by the frontend after user authenticates on /oauth/authorize page. Protected by internal key (JWT_SECRET_KEY).

post/api/internal/oauth/store-code

Request

  • Base URL: https://api.thebetterhire.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.thebetterhire.ai/api/internal/oauth/store-code
  • Auth: none declared

Request body

codestring required
client_idstring required
user_idstring required
organization_idstring required
redirect_uristring required
code_challengestring required
scopestring
expires_atstring required

Response

Successful Response

unknown required

Changes

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