Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Should I set authentication mode to forms or None? #682

Closed
pmbanugo opened this issue Aug 31, 2016 · 4 comments
Closed

Should I set authentication mode to forms or None? #682

pmbanugo opened this issue Aug 31, 2016 · 4 comments
Labels

Comments

@pmbanugo
Copy link

Should I set authentication mode to forms or None? If I set to none then it doesn't get redirected to my login page. what is the best approach to this?

@brockallen
Copy link
Owner

Are you using WIF or Katana for your cookie management?

@pmbanugo
Copy link
Author

pmbanugo commented Sep 3, 2016

I'm using WIF

@brockallen
Copy link
Owner

Well, you can set it to None, but then no redirects happen to your login page (as you saw). IIRC, you can still the forms auth redirect and it will kick in and redirect your users (even though you're not using forms auth for actually logging in the users). The other option is to build a module to redirect on a 401 response.

@pmbanugo
Copy link
Author

Ok thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants