This guide will walk through the steps required for the new Authentication process released in Q1 of 2025. This new process is aimed at providing a easier configuration of SSO, with easier management of users, roles, and SSO options.
Some new features include:
- More than one SSO Identity Provider may be configured and activated at a time.
- A SSO configuration may be used on more than a single portal at a time.
- For districts who may leverage multiple portals per school or class level.
- For universities who may leverage multiple Swank products for different audiences.
- Both SAML v2.0 and ODIC / OAuth 2.0 are supported. Deprecated is the Legacy Google OAuth.
- SSO Users are now displayed in the Users table. An individual's role may be "promoted" there.
Step 1 – Configure OIDC Application in your IDP
Choose the guide below to see examples of how to configure your IDP.
(Note: This new OIDC configuration will now support multiple portals with a single configuration. If you'd like an additional portal with the same configuration setup, please contact support. This action cannot be done via the UI. However, we recommend adding additional portals as additional "Applications" within your IDP whenever possible for the best tailored experience.)
You must start an IDP configuration to continue below. It is best to configure both ends of this OIDC handshake together with 2 open windows or tabs on your browser.
Step 2 – Configure OIDC Authentication
- Log Into your Portal to the Admin section (e.g.: https://digitalcampus.swankmp.net/[your site ID]/admin or https://streaming.swankmp.net/[your site ID]/admin)
- Select SSO Configuration in the left menu
- Review the list of SSO Configurations configured for your portal
-
-
Legacy Providers: If you've previously configured SSO via SAML or Google OAuth, you'll find their configuration listed at the bottom here.
- Note: You cannot "upgrade" your existing OAuth configuration to our new Identity Service host - you must create a new OIDC configuration.
- The legacy configurations are deactivated automatically when a new SSO Identity Provider Configuration is activated. You can "fallback" to the legacy provider by deactivating the new provider(s).
-
SSO Providers: At the top of the page, see the list of available providers. You can:
- Activate or Deactivate existing configurations via the Active toggle.
- Edit or Delete existing configurations via button actions
- Add new Identity Providers via the button at the Top. (We'll continue this guide from this route)
-
-
Click the Add Configuration button.
-
Choose the Provider Type of OIDC
- Display Name: This displays on the list of SSO Configurations as well as the button added to the Login page.
-
Authority URL: The location of the OIDC Identity Provider
- Google: https://accounts.google.com
- AzureAD / Entra ID: Unique to each instance.
- Client ID: Value give by the OIDC Identity Provider
- Client Secret: Optional (but Recommended) value given by the OIDC Identity Provider
- Scopes: These are the standard types of Claims for various Attributes your Identity Provider can submit to our Service Provider. The ones listed
- Click the Save button to generate your OIDC configuration.
-
Complete the OIDC handshake:
-
These values will be presented for you to copy and enter back into your OIDC Identity Provider's configuration.
- Callback Path (ACS Endpoint)
- Once these values are saved at the Identity Provider end, this OIDC handshake between your Portal and your Identity Provider should be complete.
-
These values will be presented for you to copy and enter back into your OIDC Identity Provider's configuration.
Step 3
Role Mapping, User Authorization, and Permission Elevation
All successful authentications will be authorized at the "Basic" or "User" account levels (role) by default depending on the market. To elevate permissions to a higher permission level for Instructors or Administrators you will need to add Role Mappings to grant this elevation either by Attribute Value or Individual UserID. For more information on Account Level Permissions, please see the following article:
https://swankmp.zendesk.com/hc/en-us/articles/5723258435092-Cloud-Streaming-User-Account-Roles
There are 3 methods of providing roles and are respected in the following order - with the former values overriding any latter options.
- Claim/Attribute of "role" directly provided by your Identity Provider
- Role Mapping on the Portal's SSO Configuration
- The Portal Default "User" or "Basic" role (Set by your Swank support)
Option 1: Identity Provider Role Assignment (Recommended)
Your Identity Provider can provide a Claim or Attribute for each User with the Name of "role" and the Value of one of our available user roles: "Admin", "Instructor", "User", or "Basic". This allows your Identity Provider Admin to set the roles based on policies and rules aligned with your organizations larger technology access strategy and to manage that access centrally at your User Directory.
Each Identity Provider has a different method for handling this action, below are some examples for Google and Azure for reference.
For Google:
- Go to Users and under More options, choose Manage custom attributes
- Add a Custom Attribute: Choose any name you'd like for tracking.
- Assign that Custom Attribute to an App Attribute of "role" in the SAML Attribute mappings.
- Make sure the User Information in Google Directory populates that Custom Value correctly for each user:
For Azure:
- Add a User Attribute such as 'SwankRole' that has a Data Type of String
- Define this string for your users as required
- In your Azure SAML Configuration, go to the Attributes & Claims and click Add new claim
- Edit the Name values to role, and map the Source attribute to the User Attribute created in step 1
You can verify you have "Role" attribute provided by checking your diagnostics while logged in under the desired SSO setup. Log into your Portal's catalog, appending /diagnostics to the URL: (e.g.: https://digitalcampus.swankmp.net/[your site ID]/diagnostics or https://streaming.swankmp.net/[your site ID]/diagnostics)
Option 2: Role Mapping via Attributes
To use this, you will need to identify or create an attribute that defines the user group(s) (such as a department) and differentiates them from the general population (students). Those attributes must be provided to your SSO configuration via your Identity Provider. You can see what attributes are currently being delivered in your SAML statement via checking your diagnostics.
Log into your Portal's catalog, appending /diagnostics to the URL: (e.g.: https://digitalcampus.swankmp.net/[your site ID]/diagnostics or https://streaming.swankmp.net/[your site ID]/diagnostics)
Under Access Token you will find the available attributes available to role map.
In this example, you can see the attribute "department" has a value of "adminDepartment". We will use this as an example as to how to grant "Admin" permissions to all users with this attribute value:
- While editing the SSO Provider, go to the Claims Role Mappings table, click Add Role Mapping
- In the Add Role Mapping pop-up window, for this example you would enter:
Claim Name: "department"
Claim Value: "adminDepartment"
Role: "Admin"
- Click Save, You will now see your Role Mappings in the listing
You may add as many of these as needed for Instructor and Administrator permissions. You can see from the example above, you can use direct email addresses, or even these can be based on Groups, such as email groups provided by Google:
Final Step
Make Configuration Active
Once you configured your OIDC Identity Provider, and determined your User's roles, remember to click the Activate toggle on the SSO Configuration page for your chosen Provider(s). If you are currently viewing the SSO Configuration detail page, you can click the "Go Back" link at the top of the page or click SSO Configuration from the side menu.
- Toggle Active to the On position for your new SSO Configuration.
Comments
0 comments
Please sign in to leave a comment.