Auth plugin for Web Service SSO

Auth plugin for Web Service SSO

by danny willford -
Number of replies: 1

Hey everyone,

I'm currently working with a client who wants to add moodle elearning to their site and want to use Single Sign On (sso).

We have set up a webservice that works when the user clicks the Moodle link on their site, they are sent to clientsmoodle.com/loginservice.php?hash=randomhashcode

We then take that random hash code and use a webservice call to their site and with that hash code we get back all the necessary information such as username, name, email, etc in json format.

Now the issue I'm having is creating an auth plugin that will authenticate the user based on username only without a password or create the user in the database if the username isn't found.

Any help would be much appreciated!

~dannycodes

Average of ratings: -
In reply to danny willford

Re: Auth plugin for Web Service SSO

by danny willford -

Figured this out already.  Didn't need an auth plugin at all!