Authentication
Exchange a sign-in code
Trades the one-time code the Google sign-in callback put in the dashboard's URL for the same session a password sign-in returns: the access token in the body, the refresh token in its cookie. A code works once, within 60 seconds of the callback, and only in the browser the callback redirected: it must carry the railhook_signin_handoff cookie the callback set.
post/api/v1/auth/oauth/exchange
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/api/v1/auth/oauth/exchange
- Auth: HTTP bearer
Cookies
railhook_signin_handoffstring
Request body
Response
Signed in
Changes
No recorded changes to this operation across all 1 revision of this API.