Configure an Authentication Provider

View as Markdown

In Ping64, an authentication provider configures authentication connection parameters for a business application. Identity Management supports application authentication through OAuth 2.0 / OpenID Connect (OIDC). After configuring a provider, associate it with the application and complete configuration and verification in the business application.

Testing ordinary-user sign-in: Application authorization and ordinary-user workspace sign-in may use different login paths. An ordinary user may be unable to complete sign-in on the authorization page even when granted access to the application. Before rollout, test with a non-administrator account representative of normal use. If sign-in fails, contact an administrator or technical support; do not expand the user’s administrative role or permissions merely to make it work. Before deployment, also consult Manage Applications and Access Scope to check two-factor protection and credential protection on sign-in devices.

An authentication provider and a directory identity source serve different purposes: an identity source connects to or manages identity data, while a provider supplies application authentication. Saving a provider does not mean that application integration is complete or that every user can access the application.

If the target application already has a suitable provider, review and retain that association. If it has none, an existing suitably configured provider that is not assigned to another application can be selected. A provider cannot be bound to multiple applications simultaneously; if another application occupies it, prepare a suitable provider instead of removing the existing association without assessment. Check application dependencies and recovery arrangements before changing authentication settings.

Use the links below for each task; read the relevant prerequisites and safety guidance before acting: Before You Begin; Create a Provider; Associate and Verify an Application; Edit and Delete; Troubleshooting.

Before You Begin

  • Use an administrator account with Identity Management viewing and configuration permissions. Deleting a provider requires the corresponding operation permission.
  • Confirm the client type, login callback address, post-logout redirect address, required scopes, and user identifier requirements with the application owner.
  • Prepare an available signing key under IAM > Authentication Configuration > Certificates, a test application, and test accounts with and without access.
  • A Client Secret is sensitive credential material. Store and deliver it through an organization-approved secure channel; do not put it in ordinary tickets, screenshots, or public documentation.
  • Browser debug output or network diagnostic files may contain sensitive information such as Client Secrets and tokens. Before sharing diagnostic material, inspect and remove sensitive content according to organizational requirements. If a credential may have been exposed, promptly coordinate its replacement with the application owner and verify the integration.

Before preparing a new signing key, check existing OIDC integrations. An integration without an explicitly assigned key may use a different key for subsequent signatures when an enabled key is created, even if its provider is not edited. Confirm the impact and verification procedure first; see Manage authentication signing certificates.

Create a Provider

  1. IAM > Authentication Configuration > Authentication Providers: Switch to IAM in the console, open Authentication Providers under Authentication Configuration, and select Create.

  2. Under Basic Information, enter a name and an optional description. The name is required.

  3. Under Protocol Settings, select the Client Type: Confidential is intended for applications that can securely store a Client Secret; Public is intended for clients that cannot securely store a shared Secret. Confidential is selected by default for a new provider; confirm the choice against the application's integration method.

  4. Check the automatically generated Client ID. A confidential client also displays a Client Secret. Before regenerating either value, assess the effect on application access and securely communicate the new credentials. A newly generated or regenerated Secret is displayed as visible text. Avoid screen sharing, recording or capturing the value, and store and deliver it only through credential-management channels approved by your organization.

  5. Enter at least one and at most ten Redirect URI entries. Each must start with http:// or https:// and match the login callback address actually used by the application. Add up to ten Logout Redirect URI entries as needed.

    To add an address, select Create beside the corresponding field and fill in the new row. To remove one, select its delete icon. Retain at least one valid login callback; confirm the impact with the application owner before removing or changing an address.

  6. Select an available Signing Key. Under Advanced Protocol Settings, select the Scope, Subject Mode, and Issuer Mode, and confirm them with the application owner. Scope limits the identity information requested by the application; Subject Mode affects the user identifier it receives. Do not grant unnecessary scopes. The Issuer option descriptions may not match the actual result. For a new provider, the issuer may depend on the address used by the creation request and proxy configuration; changing the mode may not change an existing issuer. Confirm the production access address and proxy settings with an administrator, then verify the actual values in the discovery document and tokens with the application. Do not infer from the option text alone whether providers share an issuer.

    If no signing key is available to select, an empty list alone does not prove that no key exists. Check with an administrator whether existing keys are enabled and unexpired, and check account permissions and the network; a loading failure can also leave the list empty. Before reloading the page, handle unsaved inputs and credentials under your organization’s security procedures. Reloading discards the current form; check all settings after reopening it. Do not put the Secret in an ordinary support ticket. Create a key using the certificate guide above only after confirming it is needed and assessing the impact on existing integrations.

  7. Save and check the success or failure message. Returning to the list does not necessarily mean that saving succeeded; reopen the provider and verify the name, Client ID, callback addresses, and other settings.

    Wait for processing after saving; do not click repeatedly. A timeout, network interruption or failure message alone does not prove the configuration was not saved. If the result is unclear, do not immediately resubmit or regenerate the Client ID or Secret. Record the name and Client ID, return to the list, clear its filters as described below, and check the provider and saved settings. Not finding it in the list does not prove that saving did not occur; contact an administrator or support if uncertain. Do not put the Secret in an ordinary ticket or other unapproved record.

After an associated signing key expires, the provider may still use it to issue authentication results or publish its public key. Do not treat expiry as automatic deactivation or revocation. Plan key rotation with the application owner in advance and verify both new and existing authentication results and application-side trust. If a key may be compromised, follow the organization’s security procedure immediately rather than waiting for expiry. See authentication signing certificates.

Register the complete login callback used by the application, including its path, trailing slash, and query parameters; use the same callback for authorization and code exchange. The domain alone is not sufficient. If the application requests a post-logout redirect, register the corresponding complete address under Logout Redirect URI first; an unregistered address is rejected. If no post-logout redirect is used, no address needs to be added.

Acceptance of an http:// address by the configuration page does not mean it is suitable for production or that network traffic is protected. Assess transport and callback addresses against organizational security requirements.

Selecting and verifying scopes: The page offers openid, profile, email, and offline_access. These selections specify what an application is allowed to request; the application must also request the scopes it needs during sign-in. Its request must contain at least one scope and must not exceed the allowed set. For OIDC sign-in, select openid according to the integration requirements. To obtain a name or email through user information, check that profile or email, respectively, is both allowed and actually requested. Email information also depends on whether the account has an email address. offline_access relates to refresh tokens, but selecting it does not ensure refresh works: configurations saved through this page do not allow the refresh-token grant. Neither discovery information nor receipt of a refresh token proves that a later refresh will succeed. If the business requires continuous sign-in, agree on a supported approach with the application owner and technical support, and test behavior after token expiry before going live.

In this version’s OIDC integration, do not assume that the ID token contains the name or email even when profile or email is allowed and requested. If the application needs these details, confirm that it can use the UserInfo endpoint and check the actual response and email verification status. An entered email address is not necessarily verified.

Callback address case: Business applications can handle address case differently. Do not rely on addresses that differ only in case to isolate integrations or define a security boundary. With the application owner, verify and use complete, consistent login callback addresses and, when a post-logout redirect is needed, check the logout callback addresses as well, choose a design that does not rely on case differences, and separately test permitted and forbidden redirects.

Access-token lifetime: expires_in in the token response gives the access-token lifetime in seconds. The application owner should handle expiry according to the actual response and integration design and verify reauthentication after expiry. Do not treat this value as the time at which the business application session is guaranteed to end. Refresh availability must still be checked under the restrictions above; receiving a token alone does not guarantee a continuing session.

Associate and Verify an Application

If an existing provider meets the requirements and is already associated with the target application, skip steps 1 and 2; start with the checks in step 3 and continue verification. Perform steps 1 and 2 only when an application must be created or the association changed. Assess effects on other applications and users and prepare a recovery plan before changes.

  1. Open Applications under Applications & Access, and create or edit an application.

  2. Open the selection window for the application's provider field and select an applicable available provider. Complete the other required application settings and save. Configure the access scope for the application's actual use; associating a provider does not by itself grant users access. See Manage Applications and Access Scope for access scope and restrictions when narrowing access. After changes, verify new sign-ins and existing sessions separately.

  3. Return to Authentication Providers, select the provider name to open its details, and check the associated application, Client ID, callback addresses, and displayed OpenID configuration information.

  4. First check the connection parameters in the business application; only if they do not meet the requirements should the application owner adjust them under an approved plan. Use controlled test accounts to verify both allowed and denied access, and check the actual redirects after sign-in and sign-out.

  5. Verify that requested scopes, user identifiers, and signature validation meet expectations. Check Issuer Mode against the actual discovery document, tokens, and integration results; do not infer the actual issuer from the page's option description alone.

  6. Confirm with the application owner that the application uses the authorization code flow. For a confidential client using a Secret, securely confirm that both sides have matching configuration. A public client must support PKCE and use matching verification parameters when requesting and exchanging an authorization code; prefer S256. Authentication can fail if PKCE is unsupported or the parameters do not match. Do not switch to a confidential client to bypass an application's inability to store a Secret securely.

    When the application uses PKCE, explicitly set code_challenge_method in the authorization request; S256 is recommended. If the method is omitted, authorization may proceed but the subsequent code exchange can still fail. Test the complete flow rather than treating receipt of an authorization code as successful integration.

Application-side request and token validation: Confirm with the application owner that the application generates and retains an unpredictable state for each login and checks it on callback. When it uses a nonce, it should also check that the value in the ID token matches the login request. The application should validate the ID token signature, issuer, audience and validity period. PKCE does not replace these checks. Test normal sign-in and validation failures separately; receiving a token alone does not establish a secure login.

Token exchange for confidential clients: When an application exchanges an authorization code, it should submit token request parameters as form data, for example using application/x-www-form-urlencoded. A confidential client can provide its client ID and secret through HTTP Basic authentication or in the form body. Confirm the chosen method with the application owner and verify the complete sign-in. Do not place the secret in URLs, ordinary logs or unauthorized records. In a controlled pilot, use an approved test application to verify token exchange separately with the correct, a missing and an incorrect Secret; the latter two must not succeed. Check the rejection reason; failure caused by an expired authorization code or an incorrect callback does not establish that credential validation works. For the missing and incorrect Secret tests, also confirm that the request does not carry a valid Secret through another method. Start a new sign-in from the application for each test and do not reuse an authorization code. If results differ from expectations, stop rollout and contact a security administrator or technical support.

Example: Research portal integration

Suppose a research portal can securely store a Secret, uses the authorization code flow and has agreed on https://portal.example.com/oidc/callback as its callback. The name and address are examples only; use values confirmed by the application owner and administrator.

  1. Check the existing configuration. If a new provider is needed, create a confidential-client provider, enter the complete callback, select an appropriate signing key and allow the required openid scope. Consider allowing profile only if the application needs user details and supports retrieving user information; do not assume the ID token contains the name.
  2. Associate the provider with the research portal application, set the user access scope as needed and deliver client credentials to the application owner through an approved secure channel. The application also needs its actual issuer, callback and signature verification configured; do not use the example address as a deployment address.
  3. With controlled test accounts, separately test an authorized user, an unauthorized user and an unregistered callback. Confirm the login result, actual redirect and application-side checks. If a test fails, stop the rollout and check the provider, application authorization and application configuration; do not broaden permissions merely to pass.

Edit and Delete

Choose Edit for a provider in the list to change its settings. When editing without regenerating a Secret, the page may show a mask; do not use the mask as the actual Secret. Changes to Client ID, Secret, redirect URIs, signing key, or user identifier mode can affect connected applications. Schedule a change window and rollback plan before making changes, and reverify associated applications afterward.

Changing the Subject mode: In some OIDC flows, an existing identifier for a user and application is reused. Changing the mode does not automatically convert all existing identifiers; users whose identifiers are established afterwards may receive identifiers generated under the new mode. Existing and new users can therefore produce different results. Before changing it, agree on account association and a migration plan with the application owner. Afterwards, verify identifiers and access separately with an existing user and an approved new test user; do not delete or recreate users to force a change without assessing the impact. Do not rely on changing the Subject mode alone to guarantee identifier separation between applications. Verify it with the application owner against actual business requirements.

Check saved settings before editing: After opening an existing provider, wait for the saved configuration and check its name, Client ID, redirect URIs, signing key and scopes before changing it. Entries made before loading completes may be overwritten when the saved configuration arrives. If it does not appear, is incomplete or differs from the change record, first record any unsaved work you need to retain, leave without saving and reopen it. Contact an administrator or support if the issue persists; do not save a blank form as the original configuration.

Concurrent editing: When administrators edit the same provider at the same time, saving an older page later can overwrite updated callback addresses, scopes or signing keys and affect authentication for the associated application. Coordinate with the relevant people, safely preserve any needed unsaved work, then reopen and check the current configuration before editing. Recheck after saving and verify the associated application. Reopening does not lock the configuration; further concurrent changes remain possible.

Check the Secret when changing client type: During editing, switching to a confidential client while the form has no Secret can generate a new one automatically. Even if you switch back to a public client, the new value can remain in the form and replace the existing Secret when saved. If this was accidental and you have not saved, first record any other unsaved changes you need to keep, leave the editor without saving, and reopen it to check. Do not merely switch back and save. If replacement is intended, securely deliver the new value and verify the application as described below.

Deliver and rotate a confidential-client Secret: After creating or regenerating a Secret, store the displayed new value in an organization-approved credential manager before leaving the configuration page. The mask shown during editing is not the original value and cannot be used to restore it or configure the application. Arrange a cutover window with the application owner, agree on secure delivery and prepare a workable recovery plan. Saving a new Secret replaces the previous credential; do not assume both values remain valid for subsequent authentication. Update the application promptly after saving and verify a new sign-in. The page does not provide direct entry of the old Secret, so do not assume it can be restored by retyping it. If the save result is unclear, check the actual configuration and contact an administrator before regenerating again or switching the application. Secret rotation does not guarantee immediate termination of existing application sessions.

Before deletion, identify application dependencies and prepare a migration plan. Deleting a provider removes its application associations and affects related authentication credentials, potentially preventing users from continuing the relevant authentication flows. Do not assume associations will be restored automatically.

Delete a provider: With an account authorized for identity-management operations, check the target name in the authentication-provider list, open that row’s action menu and select Delete. The confirmation dialog does not display the selected provider’s name; if unsure, select Cancel and check the list again. To proceed, select Delete. Reload the list and check the related authentication with the application owner. If the operation fails or the result is unclear, check the actual state before retrying.

Deleting an application and its authentication provider: Deleting an application also deletes its associated authentication provider and configuration and clears related authorization and authentication data; it does more than remove the association. If authentication access must be retained, agree on a migration plan with the application owner before deletion. Do not assume the provider can still be reused afterward. Existing business sessions may be managed by the application and must be checked separately; deletion does not guarantee immediate sign-out. If deletion fails or its outcome is unclear, do not assume authentication state is unchanged. Before retrying, check whether the application and provider still exist and, with the application owner, check new sign-ins and existing sessions; contact an administrator or support if needed.

Troubleshooting

  • List sorting: Sorting by a column heading may not reflect the displayed name or creation time. Do not use the list order to determine alphabetical or creation order. Check the individual entry and its displayed information; do not rely on list order alone when verifying creation time.

  • A provider is not found: Name search may omit existing entries. Clear the keyword and check the list and account permissions. After changing the keyword, the list may not match the current search conditions. After clearing the keyword, wait for the list to update; if it still looks wrong, refresh the page and check permissions. This list has no pagination controls.

  • Saving fails: Check the name, callback addresses, signing key, scopes, and other required fields, and review the page message. Returning to the list does not prove saving succeeded.

  • Login callback fails: Compare the callback address actually used by the application with the provider settings, client type, and application-side parameters. Check the complete address on both sides.

  • A token or user identifier is unexpected: Check the scope, Subject, actual Issuer, and signing key, and use application logs to investigate the integration.

  • An application cannot sign in after a change: Check associations, Client ID, Secret, signing key, and application status, then follow the approved recovery plan.

  • Authorization-code exchange fails or times out: An authorization code expires and may already have been consumed before a later processing step fails. Do not repeatedly reuse the original code. After resolving account-status and configuration issues, start a new sign-in from the business application. If it still fails, check the callback address, client credentials, and PKCE with the application owner, using authorized authentication events and application logs for investigation. Do not send authorization codes, tokens, or secrets through ordinary support tickets or public channels.

Updated

Search documentation