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

When principal is concrete type auth hook can't return nil,nil to get 401 #147

Open
powerman opened this issue Jul 7, 2019 · 0 comments
Labels

Comments

@powerman
Copy link

powerman commented Jul 7, 2019

Problem is at line https://github.com/go-openapi/runtime/blob/master/middleware/router.go#L266 - usr==nil is always false because of https://golang.org/doc/faq#nil_error

@fredbi fredbi added the auth label Dec 8, 2023
fredbi added a commit to fredbi/runtime that referenced this issue Dec 14, 2023
Signed-off-by: Frédéric BIDON <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants