Skip to main content
GET
App OAuth discovery

Response

The discovery document.

issuer
string

The base address of Bachs app OAuth. This document lives at the issuer plus /.well-known/oauth-authorization-server.

authorization_endpoint
string

Where to send the business's browser to start a connection.

token_endpoint
string

Where your server swaps a code or refreshes tokens.

revocation_endpoint
string

Where your server ends a connection.

response_types_supported
string[]

Always code.

grant_types_supported
string[]

The grant types the token endpoint accepts.

code_challenge_methods_supported
string[]

Always S256; plain challenges are refused.

token_endpoint_auth_methods_supported
string[]

How your app proves who it is: HTTP Basic or client_secret in the body.

scopes_supported
string[]

Every permission an app can ask for.