OpenID Connect setup
This guide connects an OpenID Connect (OIDC) provider to the console. On Organization → Single sign-on, choose your provider first: Microsoft Entra ID recommends OpenID Connect. For Google Workspace, Okta or Other, open Advanced connection options and select OpenID Connect (OIDC) before pressing Continue. The protocol cannot change after the draft is created. How SSO behaves for your members is described in Single sign-on.
You register the console as an application (a client) at your identity provider, enter the console's redirect URI there, and bring back the issuer URL, the client ID and the client secret.
What to register at your identity provider
- Application name and logo — Application branding, under 1. Add these details to your provider, provides the copyable name PF Console and Download logo (a square 192 × 192 PNG). Use them in your provider’s application branding settings. The provider controls where the name and logo appear; this does not change the connection’s Display name in the console.
- Redirect URI — under 1. Add these details to your provider in the Connect provider setup step (or Provider when managing an existing connection). Identity providers also call it the sign-in redirect URI, callback URL or reply URL. It contains your connection's own id; copy it exactly.
- Application type: a web application using the authorization code flow. The console sends PKCE (S256),
stateandnoncewith every sign-in.
What to bring back
Under 2. Connect your provider, enter the issuer URL, client ID and client secret. The remaining fields are under Advanced: scopes & email claims:
| Field | What to enter |
|---|---|
| Issuer URL | Your identity provider's issuer, exactly as it reports it (see below). |
| Client ID | The application's client ID. |
| Client secret | The application's client secret. |
| Scopes | Separated by spaces, openid included. Default openid email profile. |
| Email claim | The claim holding the member's email address. Default email. |
| Require a verified email | On by default; off for a new Entra ID setup. Saved settings are retained. See Email and email_verified. |
Press Save and continue during setup, or Save provider settings when managing an active or disabled connection. Saving reads <issuer>/.well-known/openid-configuration and refuses settings the identity provider does not support. A failed save keeps your entries, including a newly entered secret, and opens Advanced: scopes & email claims if it contains field errors. Setup continues only after a successful save; already-saved, unchanged settings offer Continue.
With Require SSO saved under Member access, every OIDC field is read-only, including the client secret and advanced controls. First choose Member access → Offer SSO and press Save member access on an active connection or Save draft on a draft or disabled one. Then save and test the provider change before requiring SSO again. Disabling a connection alone does not unlock its provider settings.
Issuer URL
- It must be https and reachable from the internet: the console fetches the discovery document, the signing keys and the tokens from it. Identity providers on private or internal addresses are refused.
- It must be exactly the
issuervalue of the discovery document, path included. When it is not, saving says which issuer the identity provider reports. - Microsoft Entra ID: use your tenant's own issuer,
https://login.microsoftonline.com/<tenant-id>/v2.0. The multi-tenantcommonandorganizationsendpoints are refused: with them any Microsoft tenant could sign in with an email address on your domain.
Client secret
The secret is stored encrypted and never shown again. A successful save clears the input and indicates that a secret is set. Leave the field empty to keep the saved secret, or type a new one to replace it; an empty field does not remove it. A failed save keeps the value you just entered for retrying, only while the page remains open. Without a saved secret, the console signs in as a public client (PKCE only); saving warns when the identity provider does not list public clients.
When the identity provider asks how the client authenticates at its token endpoint, both client_secret_post and client_secret_basic work; the console uses client_secret_post when the identity provider supports it.
Email and email_verified
The Email claim and Require a verified email controls are under Advanced: scopes & email claims. The console reads the email from the Email claim of the ID token, or from the userinfo endpoint when the ID token does not carry it. The email's domain must be one of the connection's verified domains.
With Require a verified email on, the identity provider must report email_verified as true; otherwise the sign-in is refused with the code email_unverified (the member sees Your organization's identity provider didn't confirm this email address, and a test sign-in shows the same reason). Okta, Google and Keycloak send email_verified. Microsoft Entra ID does not: turn it off for Entra ID, and make sure the email claim you use comes from an attribute your administrators control (see below).
When this browser remembers Microsoft Entra ID as your provider and the connection has no saved OIDC settings, the form starts with Require a verified email off. The provider choice is local to this browser and this project/connection; another browser or cleared site storage shows generic guidance, whose new-form default is on. Check the option before your first save. Once OIDC settings are saved, their values are retained in every browser; provider guidance does not overwrite them.
First and last names for new accounts are read from given_name and family_name, or split from name.
Microsoft Entra ID
Choose Microsoft Entra ID in the console and keep its recommended OpenID Connect protocol. Press Continue, then use Connect provider to exchange the application details below.
- In the Microsoft Entra admin center, open App registrations and press New registration.
- Supported account types: accounts in this organizational directory only (single tenant).
- Redirect URI: platform Web, the console's redirect URI.
- On the app's Overview, copy the Application (client) ID and the Directory (tenant) ID.
- Under Certificates & secrets, create a New client secret and copy its Value (not the secret ID). Note when it expires: create a new one before then and enter it in the console.
- Under Token configuration, press Add optional claim, choose the ID token type and add
email. Accept the prompt to turn on the Microsoft Graph email permission. - In the console:
- Issuer URL:
https://login.microsoftonline.com/<tenant-id>/v2.0, with your Directory (tenant) ID. - Client ID and Client secret from steps 2 and 3.
- Under Advanced: scopes & email claims, keep Email claim as
email. - Check that Require a verified email is off. The new Entra setup defaults to off; an existing saved connection keeps its current setting until you change and save it.
- Issuer URL:
- To limit who may sign in, open the app under Enterprise applications, set Assignment required? to Yes under Properties, and assign people or groups under Users and groups.
About the email claim in Entra ID: email comes from the user's mail attribute and is empty for users without a mailbox or mail address set. preferred_username is the sign-in name (usually the user principal name); Microsoft documents it as changeable and not meant for authorization. Use it as the Email claim only if your sign-in names are your members' email addresses. Either way, only accounts of your own tenant can sign in, and only with an email address on a verified domain.
Okta
Choose Okta → Advanced connection options → OpenID Connect (OIDC) before creating the console connection; Okta's recommended option is SAML.
- In the Okta Admin Console, go to Applications → Applications and press Create App Integration. Choose OIDC - OpenID Connect and Web Application.
- Grant type: Authorization Code. Sign-in redirect URIs: the console's redirect URI. Remove the default sign-out redirect URI if you don't need it.
- Under Assignments, choose who may sign in, and save.
- Copy the Client ID and the Client secret from the app's General tab.
- In the console, enter as Issuer URL your Okta domain,
https://<your-okta-domain>(the org authorization server), or the issuer of a custom authorization server such ashttps://<your-okta-domain>/oauth2/default. Keep Require a verified email on.
Google sign-in works for Google Workspace accounts. Choose Google Workspace → Advanced connection options → OpenID Connect (OIDC) before creating the console connection; Google Workspace's recommended option is SAML.
- In the Google Cloud console, pick or create a project and open Google Auth Platform. Set the Audience to Internal, so only users of your Workspace organization can sign in.
- Under Clients, create a client of type Web application and add the console's redirect URI under Authorized redirect URIs.
- Copy the Client ID and the Client secret.
- In the console: Issuer URL
https://accounts.google.com, the client ID and secret. Keep the default scopes and Require a verified email on.
Keycloak
Choose Other → Advanced connection options → OpenID Connect (OIDC) before creating the console connection.
- In your realm, open Clients and press Create client. Client type: OpenID Connect; enter a client ID.
- Turn Client authentication on and keep Standard flow checked.
- Under Valid redirect URIs, enter the console's redirect URI exactly.
- On the client's Credentials tab, copy the Client secret.
- In the console, enter as Issuer URL
https://<keycloak-host>/realms/<realm>(older Keycloak versions put/authbefore/realms). Keycloak reportsemail_verifiedfrom the user's Email verified setting: keep Require a verified email on and mark your users' emails as verified, or turn it off.
Keycloak must be reachable from the internet over https; see Issuer URL.
Test and activate
For a draft connection:
- Press Save and continue under 2. Connect your provider, or Continue if the saved settings are unchanged.
- In Verify email domain, add your domain, publish the TXT record and press Check verification (see Domain verification). While DNS is pending, Continue to test lets you check the provider first.
- Under Test sign-in, press Run test sign-in and sign in at your identity provider. Check Signed in as and expand Test details and claims when present. If the test is blocked, use Go to provider settings or Go to member access, save the changes there, then return. Save draft saves edited member access without enabling SSO.
- Choose Review setup. On Review and enable, finish domain verification and confirm the current settings passed a test. Under Member access, leave Offer SSO selected for an optional rollout, then press Enable single sign-on. Enabling needs at least one verified domain, a current passing test and no unsaved provider edits.
- When everything works, consider Member access → Require SSO and Save member access (see Optional or required).
For an active or disabled connection, save changes with Provider → Save provider settings, then open Test sign-in. An active connection stays active; retest after each provider change. A disabled connection stays disabled until you choose Review setup from the test pane (or Overview → Review and enable) and press Enable single sign-on. Edited member access can be kept with Save draft while it remains disabled.
Changing the client secret or any other provider setting needs a new test sign-in. When a test fails, its reason matches the codes in Troubleshooting. Saved progress resumes when you return; unsaved entries, including a newly entered secret, are kept only while the Single sign-on page remains open.
