Issuer metadata
GET
/.well-known/openid-configuration
const url = 'https://api.trybage.com/.well-known/openid-configuration';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.trybage.com/.well-known/openid-configurationResponses
Section titled “Responses”OpenID provider metadata.
Media typeapplication/json
object
issuer
required
string format: uri
jwks_uri
required
string format: uri
backchannel_authentication_endpoint
required
string format: uri
token_endpoint
required
string format: uri
introspection_endpoint
string format: uri
revocation_list_endpoint
string format: uri
grant_types_supported
Array<string>
backchannel_token_delivery_modes_supported
Array<string>
token_endpoint_auth_methods_supported
Array<string>
scopes_supported
Bage’s standard scopes. Each site turns on its own set and can add custom scopes.
Array<string>
sites_endpoint
Each site’s scopes, custom ones included (GET /v1/sites?origin=).
string format: uri
http_message_signatures_directory
string format: uri
agent_key_directory_template
string
Example
{ "issuer": "https://api.trybage.com", "scopes_supported": [ "email" ], "agent_key_directory_template": "https://api.trybage.com/v1/agents/{client_id}/directory"}