-
Notifications
You must be signed in to change notification settings - Fork 49
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
"groups session data is missing, re-authenticating" after adding groups to session #25
Comments
Turning up debug: But not in: |
Save the session: traefik-forward-auth/internal/server.go Line 318 in 370a655
Implementation:
So... guessing this all doesn't work yet? |
ping? |
this seems like what i am seeing on #23 |
looks like this shouldn't be a 'release' as the implementation is incomplete. |
@brokenjacobs Sorry, I've been away from this for a while. Group sessions do work, though they require a SESSION_KEY to be set. We were not checking properly that the SESSION_KEY existed before setting up the group claims session; resulting in this behavior. |
I hadn't checked back in but it looks like this has been resolved now? Yay! |
nope. added a SESSION_KEY setting 32 characters long, and it is still not working. Same error messages, on 2.0.5. |
Trying the v2 codebase since I push group claims from my IDP. And here is what happens on every auth request:
ime="2020-03-19T22:36:49Z" level=info msg="creating group claims session with groups: [WebApps.LCS.Access.User.Group K8S.LCS.Admin.User.Group]" source_ip=10.203.53.248 time="2020-03-19T22:36:49Z" level=info msg="groups session data is missing, re-authenticating" source_ip=10.203.53.248
I can verify the forward_auth_claims cookie is being set and sent in the browser, and I even tried renaming it, and it goes back and forth with the corrected name.
It seems like it is decoding the cooking into the session but getting a null value. I'm not sure how that is happening. Any clues?
The text was updated successfully, but these errors were encountered: