auth

Proxy X OAuth 2.0 token exchange

Server-side proxy for X OAuth 2.0 token operations. Injects the client secret so callers (web app, extension) never need to embed it.

Supports grant_type=authorization_code (initial login) and grant_type=refresh_token (session refresh).

post/v1/auth/x/token

Request

  • Base URL
    https://api.grove.city (the document declares no server; this is the origin it was published from)
  • URL
    https://api.grove.city/v1/auth/x/token
  • Auth
    none declared

Request body

grant_typestring required
codestring nullable
code_verifierstring nullable
redirect_uristring nullable
client_idstring nullable
refresh_tokenstring nullable

Response

Successful Response

object required

Changes

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