How to use Curio SSO?
Steps to follow
Contact us to know your team_uid and your secret associated to your organization that is necessary for the configuration.
Once you have these two identifiers generate a token.
Example of function to generate a token
create_sso_token(secret, today, url=''):
string = secret + today
if url:
string += url
return make_md5(string)
Generate a token
Create a token. Enter your secret code, today's date (in the format YYYYMMDD) to access the Curio home page.
Below, January 1st, 2021 is used as an example:
create_sso_token("427eafb6-1065-4f13-b281-f11e179e0cd0", "20210101", "")
And / Or
Create a token. Enter your secret code, today's date (in the format YYYYMMDD) to access a specific catalogue item:
Below, January 1st, 2021 is used as an example:
create_sso_token("427eafb6-1065-4f13-b281-f11e179e0cd0", "20210101", "fr/catalogue/5c325a00-a5aa-4321-9a94-6b33bb72fea1")
Once the token is generated
Once the token is generated, you must insert the token and the team_uid in the SSO URL to access Curio
If you have generated a token to access the Curio homepage:
https://curio.ca/team-auth/team/TEAM_UID/sso-token/TOKEN
Or If you have generated a token with url for specific item:
https://curio.ca/team-auth/team/TEAM_UID/sso-token/TOKEN/url/URL
Definitions
Team UID: A UID (Universal Unique Identifier) provided to your team by Curio when you sign up for the SSO service.
Secret Code: A secret code is provided to your team by Curio when you subscribe to the SSO service. Do not share this code with anyone.
Token: A hexadecimal md5 string generated by your system.