OAuth
Oauth Authorize Post
OAuth 2.0 authorization endpoint (POST).
This endpoint receives the user's consent (with selected organization and project) and generates an authorization code.
RFC 8707: The resource parameter identifies the target resource server.
When called with Accept: application/json, returns the redirect URL as JSON instead of a 303 redirect. This avoids CSP form-action restrictions that block cross-origin redirects in the OAuth flow's redirect chain.
post/oauth/authorize
Request
- Base URLhttps://logfire-api.pydantic.dev/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Cookies
logfire_tokenstring password nullable
Request body application/x-www-form-urlencoded
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.