- Your frontend redirects the user to the OAuth provider’s authorization page
- The provider redirects back to your app with an authorization
code - Your frontend sends the
codeto the Flux Pass callback endpoint - Flux Pass exchanges the code for an access token, fetches the user profile, and returns tokens
If the OAuth user doesn’t exist, a new account is created automatically with a free DROP service entitlement. If the email already exists, the OAuth provider is linked to the existing account.
GitHub callback
POST /api/oauth/github/callbackRate limited to 10 requests per 60 seconds.
Request body
The authorization code received from GitHub’s OAuth flow.
Response 200
Response 400
Google callback
POST /api/oauth/google/callbackRate limited to 10 requests per 60 seconds.
Request body
The authorization code received from Google’s OAuth flow.
Response 200
Same structure as the GitHub callback response.
Response 400
Microsoft callback
POST /api/oauth/microsoft/callbackRate limited to 10 requests per 60 seconds.
Request body
The authorization code received from Microsoft’s OAuth flow.

