Credentials
Create and manage apps at developer.meridian.surf.
Redirect URIs
- At least one redirect URI is required per application.
- Production URIs must use
https://. - Authorization requests must match a registered URI exactly (path included). Meridian appends query parameters on callback.
Authorization
string
required
Your application’s client id from the developer portal.
string
required
Must exactly match a URI registered on the application.
string
required
Must be
code.string
Opaque value returned unchanged on redirect. Use this on every request for CSRF protection.
string
Set to
skip to bypass the consent screen when the user has already granted the requested scopes. If additional scopes are needed, Meridian redirects with error=consent_required.Success redirect
Error redirects
PIN unlock
These scopes require the user to unlock their session PIN before authorization:user.emailuser.connections.read- Any scope ending in
.writeor.manage
Tokens
application/json or application/x-www-form-urlencoded.
Refresh token rotation is enabled. Each successful refresh revokes the previous refresh token. Reusing a revoked refresh token revokes the entire token family.
Revoke
token (required) and optional token_type_hint (access_token or refresh_token). Returns 200 with an empty body on success (RFC 7009). Revoking a refresh token revokes its entire token family.
Security
- Store client secrets server-side only. Never ship them in client-side code or mobile apps.
- Send
stateon every authorization request. - Exchange authorization codes immediately.
- Rotate client secrets if you suspect exposure. Rotation invalidates the old secret immediately.
- Treat access tokens as bearer credentials.
- Do not log client secrets, authorization codes, or access tokens.

