Authelia OAuth 2.0 API

OAuth 2.0 Endpoints

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /.well-known/oauth-authorization-server Get OAuth 2.0 authorization server metadata · OAuth 2.0 Authorization Server Metadata #
Ask an LLM
“Where is the OAuth 2.0 authorization server metadata document for discovery?”
“What scopes and endpoints does the OAuth 2.0 server advertise?”
Tell an agent
Fetch the OAuth 2.0 authorization server metadata.
Get the authorization server metadata document for client discovery.
GET /jwks.json Get the OpenID Connect JWKS · OpenID Connect 1.0 JSON Web Key Set Document #
Ask an LLM
“Where do I get the public keys to verify ID tokens?”
“Which signing keys does the OpenID Connect provider publish?”
Tell an agent
Fetch the OpenID Connect JSON Web Key Set.
Get the JWKS used to validate ID tokens.
GET /api/oidc/authorization Start an OpenID Connect authorization request · OpenID Connect 1.0 Authorization Endpoint #
Ask an LLM
“How do I send a user to the login page for an OpenID Connect client?”
“Can I pass a nonce and prompt in the authorization request?”
Tell an agent
Start OpenID Connect authorization for client {client_id} with scope {scope} and redirect {redirect_uri}.
Send the user to the OpenID Connect login for client {client_id} with scope {scope} and redirect {redirect_uri}, prompt {prompt}.
POST /api/oidc/authorization Submit an OpenID Connect authorization request · OpenID Connect 1.0 Authorization Endpoint #
Ask an LLM
“Can I submit an OpenID Connect authorization request in a form body?”
“What does the OpenID Connect authorization endpoint accept for a response mode?”
Tell an agent
Submit an OpenID Connect authorization request for client {client_id} with scope {scope} and redirect {redirect_uri}.
Post an OpenID Connect authorization request for client {client_id} with scope {scope} and redirect {redirect_uri}, response mode {response_mode}.
POST /api/oidc/device-authorization Start an OAuth 2.0 device authorization · RFC8628 OAuth 2.0 Device Authorization Grant Endpoint #
Ask an LLM
“How do I start an OAuth 2.0 Device Authorization Flow for a device app?”
“What scope does a device client request when authorizing with user code?”
Tell an agent
Start device authorization for scope {scope} and return the user code.
Begin device authorization with scope {scope} and claim {claims} in {acr_values}.
PUT /api/oidc/device-authorization Complete the device authorization flow · RFC8628 OAuth 2.0 Device Authorization Grant Endpoint #
Ask an LLM
“How do I finish the device authorization flow with a user code?”
“Can I submit a flow ID to complete device authorization?”
Tell an agent
Complete the device authorization flow with user code {user_code}.
Submit flow {flow_id} to finish the device authorization.
POST /api/oidc/pushed-authorization-request Submit a pushed authorization request · OAuth 2.0 Pushed Authorization Endpoint #
Ask an LLM
“Can I send an authorization request to the pushed authorization endpoint?”
“What does a pushed authorization request need for a client and redirect URI?”
Tell an agent
Submit a pushed authorization request for client {client_id} with scope {scope} and redirect {redirect_uri}.
Push an authorization request for client {client_id} with scope {scope} and redirect {redirect_uri}, response mode {response_mode}.
POST /api/oidc/token Exchange an authorization code for tokens · OpenID Connect 1.0 Token Endpoint #
Ask an LLM
“How do I exchange an authorization code for an access token?”
“Where do I request tokens after the user grants consent?”
Tell an agent
Exchange the authorization code for tokens.
Request access and ID tokens after the user grants consent.
POST /api/oidc/revocation Revoke an access or refresh token · OAuth 2.0 Token Revocation Endpoint #
Ask an LLM
“How do I revoke a user's access token?”
“Can I revoke a refresh token so it stops working?”
Tell an agent destructive · confirm first
Revoke the token {token}.
Revoke access token {token} so it can no longer be used.
POST /api/oidc/introspection Introspect an access token · OAuth 2.0 Token Introspection Endpoint #
Ask an LLM
“How can I check whether an access token is still valid?”
“What claims does a given access token carry?”
Tell an agent
Introspect the token {token}.
Check whether access token {token} is active and who it belongs to.
GET /api/oidc/consent Get consent information for a flow · OpenID Connect 1.0 Consent Information #
Ask an LLM
“What consent has the user given for a device authorization flow?”
“Can I look up consent information by user code?”
Tell an agent
Get consent information for flow {flow_id}.
Look up the consent for user code {user_code}.
POST /api/oidc/consent Respond to a consent request · OpenID Connect 1.0 Consent Response #
Ask an LLM
“How do I grant or deny consent for a client during the consent workflow?”
“Can I pre-configure consent for future requests?”
Tell an agent
Grant consent {consent} for client {client_id} in flow {flow_id}.
Pre-configure consent for client {client_id} in flow {flow_id} with pre-configure {pre_configure}.

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/authelia:authelia-oauth-2-0-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

authelia-oauth-2-0-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Authelia OAuth 2.0 API
  description: Authelia is an open-source authentication and authorization server and portal fulfilling the identity and access management (IAM) role of information security in providing multi-factor authentication and single sign-on (SSO) for your applications via a web portal. Authelia is an OpenID Connect 1.0 Provider which is OpenID Certified™ allowing comprehensive integrations, and acts as a companion for common reverse proxies.
  contact:
    name: Support
    url: https://www.authelia.com/contact/
    email: team@authelia.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: 1.0.0
servers:
- url: https://auth.example.com
  description: Authelia API
tags:


# --- truncated at 32 KB (90 KB total) ---
# Full source: https://artifacts.apis.io/authelia/openapi/authelia-oauth-2-0-api-openapi.yml