Test scenarios and setup for testing SSO using Auth0 as an IdP
See also tickets
Jira Legacy server System Jira serverId 4f23a7bf-fe0d-390f-9b92-bdff15338913 key DRYD-1518
...
Jira Legacy server System Jira serverId 4f23a7bf-fe0d-390f-9b92-bdff15338913 key DRYD-1683
Basic Setup Instructions
Go to https://auth0.com/
Click the Sign up button
Create an account
In the sidebar, click Applications/Applications
Click Create Application
Name: CollectionSpace
Application type: Regular Web Applications
Click the Settings tab
In Allowed Callback URLs, enter
https://{cspace server}/cspace-services/login/saml2/sso/{your name}-auth0
(replace{cspace server}
with the server that is going to use this IdP, and{your name}
with some version of your name that has no spaces)Click the Save Changes button
Click the Addons tab
Turn on SAML2 WEB APP
Click the Settings tab in the pop-up that appears
Make note of the Identity Provider Metadata URL
Click the Enable button
Ask hosting to add the following SSO relying party configuration to the CSpace server you referenced in step 7 (replacing the stuff inside curly braces with appropriate values):
Code Block <relying-party id="{your name}-auth0"> <name>{your name}'s Auth0</name> <icon location="https://cdn.auth0.com/manhattan/versions/1.5422.0/assets/badge.png" /> <metadata location="{metadata url from step 12}" /> </relying-party>
Note that the
id
above must be the same as the last path element of the URL you entered in step 7.Wait for the CSpace server to be redeployed and restarted
...
Configuration Scenario 11 | |||
---|---|---|---|
Scenario Description | Using untyped Attributes. Email address asserted as | ||
Precondition | Create a user on CSpace with the email testconfig5@example.com | ||
Auth0 Mappings |
| ||
Auth0 Additional Settings |
| ||
Relevant SAML Config on CSpace Server |
| ||
Relevant IDP Metadata excerpt |
| ||
Expected behavior upon initial login | User is found and login succeeds | ||
Expected behavior after changing email address on Auth0 IdP | User is found and login succeeds (because attribute that is used for sso-id hasn’t changed) |