Hello guys! I needed to login from another platform along with the Moodle login. The user logged in to mooodle and would automatically log in to that other platform as well. The question is how to do it and which file will I use.
Login to Moodle and to other platform at the same time
Number of replies: 1Re: Login to Moodle and to other platform at the same time
HI,
You need a Single Sign On solution. Both applications will need to support the same protocol ... and usually one of the application has to be the IDP (IDentity Provider). There are many technologies that can be used and OAuth2 - ala Facebook, Twitter etc seems to be the favour of the moment but there is OpenID, Shibboleth, Active Directory, SAML etc. If the other application is PHP - maybe use https://simplesamlphp.org/ to integrate the two applications. Note though the SSO happens at the time the user attempts to access resources on the other the platform and not at login. Is SSO complicated? Most of the time, yes.
You need a Single Sign On solution. Both applications will need to support the same protocol ... and usually one of the application has to be the IDP (IDentity Provider). There are many technologies that can be used and OAuth2 - ala Facebook, Twitter etc seems to be the favour of the moment but there is OpenID, Shibboleth, Active Directory, SAML etc. If the other application is PHP - maybe use https://simplesamlphp.org/ to integrate the two applications. Note though the SSO happens at the time the user attempts to access resources on the other the platform and not at login. Is SSO complicated? Most of the time, yes.