-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix/forward auth redirect #56
Conversation
realized, this needs a flag to enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
server/server.go
Outdated
return samlsp.FetchMetadata(reqCtx, client, *idpMetadataUrl) | ||
reqCtx, cancel := context.WithTimeout(ctx, fetchMetadataTimeout) | ||
desc, err := samlsp.FetchMetadata(reqCtx, client, *idpMetadataUrl) | ||
cancel() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops i wasn't supposed to check that in
38fd195
to
18ac0d7
Compare
18ac0d7
to
9579d3c
Compare
@itzg ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thanks.
Fixes #54
This changes:
AttributeHeaderWildcard
--auth-verify
flag to enable/_verify
endpoint and trust x-forwarded headers