How to generate a temporary Sign On URL?
The Sign On method described below allows you to securely log your users to the Agendize dashboard. To do so, you will need to generate the URL below with the following URL parameters: https://app.agendize.com/sso/1.0/sso
Note: please replace app.agendize.com by the server name you use.
Name | Description | Required |
Account email | Y | |
ts | Timestamp in milliseconds (number of milliseconds since 1970/01/01) | Y |
t | Session timeout, defined together and configured by Agendize - for now this is hard coded to “600000”. | N |
mac | HMAC SHA-256 value calculated by concatenating email, ts and t as the message, using the user account’s SSO token as the key. mac = Hmac(HmacSHA256, email + ts + t, user_sso_token) | Y |
errorPage | Personalized error page, where the user will be redirected in case of error. | N |
Note: here is a PHP script to generate such SSO URL.
HMAC generator page
In order to assist with validation of the SSO generation code, your team can use an HMAC generator page created by Agendize to compare against the value generated by code. On this page, you’ll only need to enter the email address, timestamp and user SSO token in order to generate a working SSO URL and compare it to the URL generated by the code:
http://app.agendize.com/apps/resellers/generator.jsp
Note: please replace app.agendize.com by the server name you use.
Sample URL
Note: please replace app.agendize.com with the server name you use.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article