Stack Exchange · Authentication Profile

Stack Exchange Authentication

Authentication

Stack Exchange secures its APIs with oauth2 across 1 declared security scheme, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

AnswersCodeCommunityDeveloper ToolsKnowledge BaseQ&AQuestionsStack Exchange
Methods: oauth2 Schemes: 1 OAuth flows: authorizationCode API key in:

Security Schemes

oauth2 oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/stack-exchange-openapi.yml
summary:
  types:
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://stackoverflow.com/oauth
    tokenUrl: https://stackoverflow.com/oauth/access_token/json
    scopes: 3
  description: OAuth 2.0 authentication for Stack Exchange API. Register an application at http://stackapps.com/apps/oauth
    to obtain client credentials.
  sources:
  - openapi/stack-exchange-openapi.yml