Connecting a provider with generic OAuth 2.0
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
This is a generic guide: it describes the standard authorization-code flow rather than any one provider, so the endpoints, scopes and app-registration steps come from that provider’s own documentation.
Use this escape hatch when the provider you need is not yet in the catalog but supports the standard OAuth 2.0 authorization-code flow (RFC 6749).
- Find the provider’s OAuth 2.0 / API authentication documentation (usually under “Developers”, “API”, or “Integrations” on their site).
- Register an application (often called an OAuth app, client, or integration) in the provider’s developer console. You will receive a client ID and usually a client secret.
- Set the app’s redirect URI (also called callback URL) to the callback URL shown on the connect form. OAuth redirect URIs are exact-match — copy it precisely.
- From the provider’s documentation, copy the authorization URL and token URL into the connection form. If the provider publishes an RFC 8414 / OpenID Connect discovery document (
/.well-known/oauth-authorization-serveror/.well-known/openid-configuration), prefer the endpoint values from that document and record its URL too. - Enter the scopes your flows need, exactly as the provider’s documentation spells them.
- Complete the connect flow: you will be redirected to the provider, asked to consent, and returned.
If the provider deviates from the standard flow (comma-separated scopes, PKCE rejection, rotating refresh tokens with quirks), it needs a real catalog entry — file it as a catalog candidate instead of fighting the generic form.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Generic OAuth 2.0, and pick Generic OAuth 2.0 (authorization code). Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Generic OAuth 2.0 in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.