Skip to main content

Discovery

Two public documents describe the authorization server, so an OAuth library can configure itself from the issuer URL https://api.arsel.sa.

Authorization Server Metadata​

GET https://api.arsel.sa/.well-known/oauth-authorization-server

The RFC 8414 metadata document, cacheable for an hour.

{
"issuer": "https://api.arsel.sa",
"authorization_endpoint": "https://api.arsel.sa/oauth/authorize",
"token_endpoint": "https://api.arsel.sa/oauth/token",
"registration_endpoint": "https://api.arsel.sa/oauth/register",
"revocation_endpoint": "https://api.arsel.sa/oauth/revoke",
"jwks_uri": "https://api.arsel.sa/.well-known/jwks.json",
"scopes_supported": ["full_access"],
"response_types_supported": ["code"],
"grant_types_supported": ["authorization_code", "refresh_token"],
"code_challenge_methods_supported": ["S256"],
"token_endpoint_auth_methods_supported": ["none"],
"revocation_endpoint_auth_methods_supported": ["none"],
"client_id_metadata_document_supported": true,
"authorization_response_iss_parameter_supported": true
}

Signing Keys​

GET https://api.arsel.sa/.well-known/jwks.json

The public keys (ES256) that sign access tokens. You don't need them to call the API: send the token and the API checks it. They are published for clients that want to verify a token's signature themselves.

MCP​

The MCP server publishes its own protected-resource metadata (RFC 9728) at https://mcp.arsel.sa/.well-known/oauth-protected-resource, pointing MCP clients to this authorization server.