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

Moved auth_verify to server, returning 204 or 401 as per nginx standards #84

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

robvanoostenrijk
Copy link
Contributor

With the current proxy mode, saml-auth-proxy cannot be used for only verification purposes.

This change follows the functionality seen on oauth2-proxy, exposing a verify only endpoint which either returns 204 Accepted or 401 Forbidden.

This should work for nginx, traefik and Caddy.

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just a small tweak and question.

server/server.go Show resolved Hide resolved
server/server.go Show resolved Hide resolved
@itzg
Copy link
Owner

itzg commented Dec 22, 2024

And FYI here also about merge conflict.

@robvanoostenrijk
Copy link
Contributor Author

Merge conflicts resolved.

@itzg itzg merged commit 19faa3e into itzg:master Dec 22, 2024
1 of 2 checks passed
@itzg
Copy link
Owner

itzg commented Dec 22, 2024

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

Successfully merging this pull request may close these issues.

2 participants