Skip to main content

Add an OAuth 2.0 Identity Provider

This guide explains how to register a generic OAuth 2.0 identity provider (IdP) in ThunderID. Use this type for OAuth 2.0 providers that do not implement OpenID Connect discovery. If the provider supports OIDC, use Add an OIDC Identity Provider instead.

Prerequisites

  • ThunderID is running. See Get Started.
  • You can sign in to the ThunderID Console.
  • A client application registered in the external OAuth 2.0 provider with a Client ID, Client Secret, and redirect URI.
  • The provider's authorization endpoint, token endpoint, and userinfo endpoint URLs.

Create the OAuth 2.0 Connection

1

Step 1: Add a Custom Connection

  1. Sign in to the ThunderID Console.
  2. Navigate to Connections.
  3. Click the Add custom connection card.
2

Step 2: Choose the Connection Type

  1. On the Connection type step, click OAuth 2.0 Provider.
  2. Click Continue.
3

Step 3: Configure the Connection

Enter the following fields, then click Create connection:

FieldRequiredDescription
Connection nameYesA friendly name used to identify this connection.
Client IDYesThe client ID issued by the OAuth 2.0 provider.
Client secretYesThe client secret issued by the OAuth 2.0 provider.
Authorization endpointYesThe provider's authorization endpoint, used to start the sign-in flow.
Token endpointYesThe provider's token endpoint, used to exchange the authorization code for tokens.
UserInfo endpointYesThe provider's userinfo endpoint. ThunderID calls this endpoint to fetch the authenticated user's profile.
ScopesNoSpace-separated OAuth scopes to request.

The Redirect URI field is read-only. Copy its value and register it as the callback URL with your provider.

note

The connection also accepts logoutEndpoint and prompt fields, and an attributeConfiguration field to map this provider's claims to local user attributes. These are not available in the Console and can only be set through the Connections API. See Attribute Configuration for the mapping concepts, which apply the same way to OAuth 2.0 connections.

Next Steps

Explore with AI

ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.