devise_saml_authenticatable icon indicating copy to clipboard operation
devise_saml_authenticatable copied to clipboard

dynamic :saml_authenticatable

Open paulmdi opened this issue 7 years ago • 1 comments
trafficstars

Hi! Is there a way to toggle on/off the :saml_authenticatable, e.g. based on a setting of a user

thanks

paulmdi avatar Apr 17 '18 08:04 paulmdi

Yes, but it's not part of this gem's API. Devise is statically configured, so you have to jump through some hoops to make it dynamic.

I would suggest using our wiki page on multiple strategies as a starting point. You'll have to find some way of figuring out the correct route to redirect to from your landing page.

adamstegman avatar Apr 18 '18 17:04 adamstegman