oauth
Mints an authorization code for a signed-in identity. **Internal**: admin-token gated, exactly like `/admin/*` and the website's other server-to-server calls, and never reachable from a browser.
The website calls this only after (a) validating its own console session server-side and (b) a human pressing "Allow". The identity must already exist (the console sign-in proved it), so this endpoint never creates one.
It DOES create a key when the identity has none: the sign-in proved mailbox control, which is exactly the evidence /v1/keys/verify accepts, so the minted key is verified on the standard free tier rather than a provisional one that would expire under the user mid-use.
post/oauth/authorize/grant
Request
- Base URL: https://api.mapmap.ai
- URL: https://api.mapmap.ai/oauth/authorize/grant
- Auth: HTTP bearer
Request body
Response
Authorization code minted
Changes
No recorded changes to this operation across all 1 revision of this API.