catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
72 stars 134 forks source link

Custom Login page #20

Open cristianomariacumer opened 8 years ago

cristianomariacumer commented 8 years ago

Hi @brendanheywood ,

I have implemented a custom login page, like the to one moodle uses for CAS authentication. I have done that because we are using both IdP users and local moodle users and I find that unskilled users are confused by the standard login page:

screen shot 2016-07-14 at 17 27 16

I'm quit sure that in this case 99% of my users would punch their credentials directly in the login/password box instead of using our idp (ScientificNet).

So I added this intermediate page:

screen shot 2016-07-14 at 17 29 07

Where it's possible to explain the different possibilities.

Let me know if you are interested in this code.

Cristiano

brendanheywood commented 8 years ago

hi @cristianomariacumer,

I'm am interested in this feature, but I'm leaning towards it actually being a core moodle feature and not in here. This logic really should be part of the core login page and apply to any moodle auth plugin that declares remote login pages via loginpage_idp_list(). I'll make a tracker and see whether HQ are interested or not.

See:

https://tracker.moodle.org/browse/MDL-55257

xow commented 8 years ago

I agree that it would be good to have this option in core. Plus we can look more holistically at the experience of having multiple identity providers or having one that is more commonly used than manual auth. Any patches contributed to https://tracker.moodle.org/browse/MDL-55257 are appreciated!

JorgenIvarsson commented 7 years ago

Hi Cristiano! How do I get your code? I seems to have the same problem, switching from CAS to SAML2.

cristianocumer commented 7 years ago

Hi @JorgenIvarsson ,

still interested? Sorry, I didn't notice your comment

Cristiano

brendanheywood commented 7 years ago

fyi there has been a bit of movement in the core tracker re https://tracker.moodle.org/browse/MDL-55257