Moodle as IdP for a Ruby Rails App

Moodle as IdP for a Ruby Rails App

by Bruno Toledo -
Number of replies: 3

A partner of mine wants provide access to my Rails app via Moodle to his users. Apparently he wants to create a link at Moodle and grant access to his users at my Ruby Rails app.

My app is ready to receive SAML Responses from Identity Providers and I wonder if that is the solution. I mean,  suggest him to install (https://simplesamlphp.org/samlidp) and once it is done he will be able to POST SAML to my URL ( .../students/auth/saml/callback) and extract the info I need to provide access to registered users.

Am I rigth ? Does it work ?

He is a very important partner of mine and I am looking forward to have him using my app.

Thanks and I sorry for my english. It is not my native language.






Average of ratings: -
In reply to Bruno Toledo

Re: Moodle as IdP for a Ruby Rails App

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

There's an existing plugin, SAML Identity Provider, which should do this. It takes a bit of setting up as you need to configure SimpleSAMLphp first but when configured it allows Moodle to act as an Identity Provider so that users can access the resources of a SAML Service Provider.

I've used it with Moodle 3.6 and it worked for me.

Average of ratings: Useful (2)
In reply to Leon Stringer

Re: Moodle as IdP for a Ruby Rails App

by Bruno Toledo -
Thanks ! My client tells it does not work with Moodle 2.6 (His version). Do you know if that is correct ?