General help

 
 
Picture of danny willford
Auth plugin for Web Service SSO
 

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: -
Picture of danny willford
Re: Auth plugin for Web Service SSO
 

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

 
Average of ratings: -