SSO Format
Forma.lms accepts SSO from a third-party site for the already registered users
Settings
The SSO functionality has to be enabled in the general settings.
You have to define a secret key that will have to be shared between forma.lms and the third-party portal or website implementing SSO.
We suggest you to use a long and complex secret key (at least 32 characters, including capitalized and not capitalized letter, numbers, symbols). You can generate a complex key with one of the many automatic token generators available on the web.
You can define the validity of the generated token. Default is 60 seconds. The link generated with the token is valid for the time set starting from when it has been generated.
SSO Link
The link for SSO is as follows:
forma.lms version 1.xx
http://.../appLms/index.php?login_user=<username>&time=<str_tempo>&token=<str_token>
forma.lms version 2.xx
http://.../index.php?r=adm/homepage/sso&login_user=<username>&time=<str_tempo>&token=<str_token>
Link parameters
This is the meaning of the parameters you can find in the link