Skip to main content

Custom OAuth

Name​

A name for the connection, which labels it wherever a step offers it.

Required

Discovery URL​

The provider's discovery or issuer URL. On save, its OAuth endpoints and scopes are detected, and where the provider supports it a client is registered for you when you connect. An OpenAPI oauth2 security scheme, as JSON, works here too. Leave it blank to fill the fields in by hand.

Auth​

The OAuth client and endpoints the connection authorizes through.

Required

Registered Client ID​

The client id the provider issued when this connection registered itself as an OAuth client, for a provider that registers clients automatically. Filled in by Connect; leave it alone unless the provider has forgotten the client, in which case clearing it registers a new one.

Advanced tab

Auth › Custom OAuth 2.0​

An OAuth 2.0 client, configured from a discovery document or by hand.

Provide client credentials​

Turn it on for a provider that requires you to register an OAuth client yourself and paste its credentials in. A provider that registers a client automatically needs nothing here.

Client ID​

The client id from the provider's developer console.

Client Secret​

The client secret. Leave it blank for a public client. Stored encrypted and never logged.

Set endpoints and scopes manually​

Turn it on for a provider that publishes no discovery document. Filled in and locked when a Discovery URL did the work.

Authorize URL​

The provider's authorization endpoint, where a person is sent to grant access.

Token URL​

The provider's token endpoint, where the grant is exchanged for tokens.

Scopes​

The scopes to request, one per entry.

Advanced protocol options​

Shows the protocol options a provider's quirks sometimes need: revocation, PKCE, how the token endpoint takes credentials, and extra parameters.

Revoke URL​

The provider's revocation endpoint, where it offers one, used by Disconnect.

Scope Delimiter​

How several scopes are joined into one value. A space unless set.

Token Endpoint Auth Method​

How the client's credentials are presented to the token endpoint. HTTP Basic unless set or discovered.

Refresh Rotates?​

Turn it on for a provider that issues a fresh refresh token with every refresh, so the stored one is replaced rather than reused. Atlassian rotates; most providers don't.

Resource​

A resource indicator sent on the authorize and token requests, which binds the issued token's audience to that URL. Leave it blank for the protected resource the token will be used against.

Extra Token Params​

Extra parameters some providers require on the token request, by name and value.

Disable PKCE​

PKCE is on by default and OAuth 2.1 requires it. Turn this on only for a legacy provider that rejects the extra parameters.

Extra Authorize Params​

Extra parameters some providers require on the authorize request, by name and value, such as prompt or audience.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.