OIDC Authentication API

Endpoints for authenticating end-users and obtaining authorization grants.

Operations 1

GET /authorize Authorization Endpoint #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oidc-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oidc-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenID Connect Authentication API
  description: OpenID Connect (OIDC) is an identity layer built on top of the OAuth 2.0 protocol. It allows clients to verify the identity of end-users based on the authentication performed by an authorization server, and to obtain basic profile information about the end-user in an interoperable and REST-like manner. This specification covers the core OIDC endpoints including discovery, token, userinfo, and JWKS.
  version: '1.0'
  contact:
    name: OpenID Foundation
    url: https://openid.net/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://{issuer}
  description: OpenID Connect Provider
  variables:
    issuer:
      default: example.com
      description: The OIDC issuer domain
tags:
- name: Authentication
  description: Endpoints for authenticating end-users and obtaining authorization grants.
paths:
  /authorize:
    get:
      operationId: authorize
      summary: Authorization Endpoint
      description: Performs authentication of the end-user. The authorization endpoint is used to interact with the resource owner and obtain an authorization grant. The endpoint handles the authentication flow and redirects back to the client with an authorization code or tokens depending on the response type.
      tags:
      - Authentication
      parameters:
      - name: response_type
        in: query
        required: true
        description: The value must include 'code' for the Authorization Code Flow, 'id_token' for the Implicit Flow, or 'code id_token' for the Hybrid Flow.
        schema:
          type: string
          enum:
          - code
          - id_token
          - id_token token
          - code id_token
          - code token
          - code id_token token
      - name: client_id
        in: query
        required: true
        description: The client identifier issued during registration.
        schema:
          type: string
      - name: redirect_uri
        in: query
        required: true
        description: The redirection URI to which the response will be sent. Must exactly match one of the redirection URIs registered for the client.
        schema:
          type: string
          format: uri
      - name: scope
        in: query
        required: true
        description: Space-delimited list of scopes. Must include 'openid' to indicate an OIDC request. May also include 'profile', 'email', 'address', and 'phone'.
        schema:
          type: string
      - name: state
        in: query
        required: false
        description: An opaque value used by the client to maintain state between the request and callback. Recommended for CSRF protection.
        schema:
          type: string
      - name: nonce
        in: query
        required: false
        description: A string value used to associate a client session with an ID Token and to mitigate replay attacks. Required for implicit flow.
        schema:
          type: string
      - name: prompt
        in: query
        required: false
        description: Space-delimited list of values that specifies whether the authorization server prompts the end-user for reauthentication and consent.
        schema:
          type: string
          enum:
          - none
          - login
          - consent
          - select_account
      - name: login_hint
        in: query
        required: false
        description: A hint to the authorization server about the login identifier the end-user might use.
        schema:
          type: string
      - name: acr_values
        in: query
        required: false
        description: Requested Authentication Context Class Reference values.
        schema:
          type: string
      - name: code_challenge
        in: query
        required: false
        description: PKCE code challenge derived from the code verifier.
        schema:
          type: string
      - name: code_challenge_method
        in: query
        required: false
        description: Code challenge method used to derive the code challenge.
        schema:
          type: string
          enum:
          - plain
          - S256
      responses:
        '302':
          description: Redirect to the client redirect_uri with authorization code or tokens in the query string or fragment.
        '400':
          description: Invalid request parameters.
        '401':
          description: Authentication failed.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth 2.0 Bearer Token obtained through OIDC authentication.