Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth may cause challenge-loop due to missing perms #9

Open
malthe opened this issue Jan 29, 2018 · 0 comments
Open

Auth may cause challenge-loop due to missing perms #9

malthe opened this issue Jan 29, 2018 · 0 comments

Comments

@malthe
Copy link

malthe commented Jan 29, 2018

If a user is challenged to authenticate via SPNEGO and this succeeds, i.e. we get a user id, then we may still end up with a situation where that user does not have permission to render the page, causing a new challenge.

I think it makes sense to set some sort of cookie (with a not-far-in-the-future expiration, perhaps configurable) to say that we've actually authenticated this user and challenging won't help getting the authorization.

Makes sense?

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

No branches or pull requests

1 participant