Multiple Auth in Yesod?

Apologies if my answer is a tad vague (it’s been a few months since I’ve used Yesod, and the dev cycle is quite rapid), but if I remember correctly you can specify multiple varieties of authentication within the YesodAuth class (browserID, google etc), in which case the user would be provided with the option as to which to use at each authentication request. Something like:

authPlugins _ =
[ authBrowserId
, authGoogleEmail
]

etc.

Whether or not you can explicitly set one auth type for each circumstance I do not know I’m afraid, and whether or not this solves your problem I’m unsure.

Leave a Comment

deneme bonusudeneme bonusu veren sitelerOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casino