Skip to main content

Set up OpenID Connect (OIDC) SSO

Connect your identity provider so people can sign in to SkyPrep with OpenID Connect, then test account matching before rollout.

Written by Stephen Chang

OpenID Connect lets users sign in to SkyPrep through your identity provider. Full administrators can connect a provider, test account matching, and optionally create learner accounts or update profile fields at sign-in.

If OpenID Connect (OIDC) SSO does not appear under Integrations, contact SkyPrep support to enable it for your platform.

Connect your provider

  1. Open Integrations → OpenID Connect (OIDC) SSO.

  2. Copy the Callback URL from Provider Setup and register it in your provider application. Use the exact URL displayed in SkyPrep. It uses your platform's SkyPrep domain, so if that domain changes, update the callback in your provider application too.

  3. Under Connect Your Provider, enter the issuer URL, client ID and client secret from your provider. Keep Client Secret Basic under Advanced Connection Settings unless your application requires Client Secret Post.

  4. Under Match Users and Manage Profiles, choose the unique identifier claim and whether SkyPrep may create users or update profiles. Configure profile fields in the Data Mapping tab.

  5. Turn on Enable OpenID Connect and select Save Settings. Keep automatic login redirects off until testing is complete.

  6. Run Check Saved Settings, then Test Saved Sign-in. Resolve any feedback before sharing the Sign-in URL with users.

Your provider must support authorization code flow, PKCE S256 and RS256-signed ID tokens. Its discovery and authentication endpoints must be publicly accessible over HTTPS on port 443. SkyPrep discovers these endpoints from the issuer URL. SkyPrep always sends the S256 challenge and verifier. Providers that omit PKCE capability metadata can connect, but an explicit declaration without S256 is rejected.

Under Advanced Connection Settings, Additional Scopes lets you request provider-specific claims, such as groups, phone or address. Separate scopes with spaces. SkyPrep always requests openid email and adds profile when needed for provisioning, profile updates or group claims. The provider controls which requested scopes and claims it grants.

Choosing a unique identifier

A claim is a value the provider returns about a person. Choose a claim that is unique, stable and controlled by your provider. On the first sign-in, its value must match the person's SkyPrep username, unless optional user creation is enabled.

Use email when each person has a unique email and the provider returns email_verified: true. For example, a returned email of [email protected] matches that SkyPrep username.

Use sub or another stable claim when email addresses are shared, unverified or unsuitable as identifiers. Existing SkyPrep usernames must match that value before the first sign-in. Non-email identifiers must match exactly, including letter case, and contain 3–150 characters. Accounts using non-email usernames may need a separate notification email address.

After the first successful sign-in, SkyPrep connects the person to their provider identity. Later email or username changes do not replace that connection. Administrators do not need to upload subject mappings.

Changing the configured claim does not rename existing accounts. With user creation enabled, an unmatched identifier can create an additional account. Check usernames before changing this setting.

Understanding the connection tests

Check Saved Settings checks the saved configuration and provider discovery. It does not verify the client secret or a person's returned identity.

Run tests from your program's SkyPrep account domain, the same domain shown in the Callback URL. On another domain, SkyPrep shows a link to open the settings there.

Test Saved Sign-in opens the provider's sign-in flow, validates the returned identity and previews the SkyPrep account match. It reports whether an existing account matches or a learner would be created, along with the available mapped profile fields.

The test does not create users or groups, connect identities, update profiles or memberships, send SkyPrep emails or switch your SkyPrep session. When group assignment is configured, the preview lists requested group names, checks for ambiguous matches using the same lookup as normal sign-in, and indicates when removals would be skipped because claims are incomplete. Normal sign-in still applies account validation, access restrictions and MFA requirements. Tests use saved settings; save any edits first.

Creating users and updating profiles

Create users if they do not exist is off by default. When enabled, an unmatched identifier can create a learner account at normal sign-in. Program user limits and account validation still apply. Claims cannot grant administrator permissions or change access status.

Update Existing User Profiles controls the fields configured in Data Mapping:

  • Do not update existing profiles leaves their fields unchanged.

  • Only if no other user sync is enabled skips profile updates while a known HRIS, CRM or directory connector is enabled.

  • Use OIDC for mapped fields allows OIDC to update those fields. Other connectors continue to run, so remove overlapping mappings there to avoid competing updates.

Missing or blank claims do not erase existing profile values. Profile changes appear in the platform change history with the OIDC integration as the actor. The Users tab shows connected people and their latest OIDC profile changes.

In the Data Mapping tab, enter the exact claim name from the ID token or UserInfo response for each SkyPrep field. Custom functions are not supported.

Assigning groups at sign-in

Expand Group Assignment to configure the same kinds of group actions available with SAML. These options are off by default and apply to both new and existing users at normal sign-in.

  • Default Groups to Add Users To adds users to named groups at each sign-in. Separate names with semicolons.

  • Assign Groups from Provider Claims reads names from Group Claim (groups by default). Use another claim such as department when appropriate. Additional Department Claim optionally combines a second claim with the group list.

  • Claims can contain an array of strings or semicolon-separated group names. Names must identify user groups in this program; learning paths and groups from other programs are excluded. Defaults and provider values are combined, ignoring blanks and duplicates, with up to 200 distinct names of 255 bytes each. Letter-case variants count as the same name. Duplicate group names in different nested groups must be resolved before those names can be assigned.

  • Automatically Create Groups creates missing user groups. When off, unknown names are skipped.

  • Remove Memberships No Longer Returned by the Provider removes only memberships this OIDC integration created. Existing manual, SAML and HRIS memberships remain untouched, including memberships that already existed before OIDC requested them. Default groups remain assigned.

Missing, null or blank configured claims preserve existing memberships. Blank list entries and separator-only strings also skip removals. Valid names in a partially blank list can still add memberships. With removal enabled, an explicit empty array can remove this integration's previous assignments. If you configure both group and department claims, both must be complete before removals are applied. This also protects against provider responses that omit groups because a user belongs to too many groups.

Group assignment uses normal enrollment and removal behavior, including course enrollments and notifications. Membership changes and newly created groups are recorded in change history with the OIDC integration as the actor. Group assignment is separate from the mapped-profile ownership setting.

Showing a login button or redirecting users

Expand Login Page and Sign-out Options and choose a Sign-in Page Flow:

  • Use the sign-in URL only keeps the login page unchanged. Share the Sign-in URL with users.

  • Show a button on the login page adds an OIDC button to SkyPrep's login page.

  • Automatically redirect to the identity provider sends users straight to your provider.

To customize the button, enter Login Button Text and upload a Login Button Logo (PNG, JPG, WebP or GIF, up to 2 MB). Leave the text blank to use Sign in with OpenID Connect. Button Preview shows how it will look.

Automatic redirection does not disable password sign-in. Keep the recovery URL under Common Questions to reach the normal login form if the provider is unavailable. Existing account restrictions still apply.

Configuring sign out

Logout Destination accepts an optional HTTPS landing URL after an OIDC user signs out of SkyPrep. Leave it blank to retain the default destination.

Sign out of the identity provider when signing out of SkyPrep also requires provider logout support. When enabled, copy the displayed Post-logout Callback URL into your provider application. Register this callback, rather than the landing destination. Provider logout may also sign the user out of other applications.

If the provider does not support logout, leave provider sign-out off. Users can still sign out of SkyPrep and use the configured landing destination.

Managing connected people

The Users tab lists everyone who has signed in with OpenID Connect, with their identity provider ID, status, connection date and latest profile update.

  • Disconnect removes only the connection. The person keeps their SkyPrep account and access, and connects again the next time they sign in with your provider. To stop someone from signing in, deactivate their SkyPrep account.

  • Reconnect needed appears after the Issuer URL or Client ID changes, because SkyPrep now points to a different provider application. Disconnect those people so they connect again at their next sign-in.

  • View changes opens the platform change history for profile updates made by OIDC.

Troubleshooting setup

Feedback

What to check

Callback URL mismatch at the provider

Register the exact SkyPrep callback in the correct provider application.

Issuer mismatch

Use the exact issuer from provider discovery, including the correct tenant and trailing slash.

Authorization code exchange rejected

Check the client ID, secret, client authentication method and registered callback.

Email is not verified

Verify the email at the provider or choose a stable unique claim that matches SkyPrep usernames.

No matching SkyPrep username

Correct the username or identifier, or enable optional learner creation.

Account already connected to another identity

Review the Users tab and confirm account ownership before disconnecting. Disconnecting permits a new match; it does not disable access.

People show Reconnect needed

The Issuer URL or Client ID changed. Disconnect them so they connect again at their next sign-in.

Profile fields are missing or skipped

Check claim names in Data Mapping, claims returned by the provider, and the selected profile ownership setting.

Test expired or saved settings changed

Start another test in the same administrator browser after saving the current configuration.

Test button is unavailable

Open the OIDC settings on your program's SkyPrep account domain and make sure the provider is saved and enabled.

Did this answer your question?