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

upgrade authcontrol dep, and move HeaderAccessKey to authcontrol #59

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

pkieltyka
Copy link
Member

@pkieltyka pkieltyka commented Oct 29, 2024

KeyFuncs: []authcontrol.KeyFunc{middleware.KeyFromHeader},
UserStore: server.Store,
JWTSecret: Secret,
AccessKeyFuncs: []authcontrol.AccessKeyFunc{authcontrol.AccessKeyFromHeader},
Copy link
Member Author

Choose a reason for hiding this comment

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

I left this here, just as example how you can set this explicitly as well.. but this is the default

@pkieltyka pkieltyka merged commit 6a78919 into master Oct 29, 2024
1 check passed
@pkieltyka pkieltyka deleted the update-authcontrol branch October 29, 2024 23:02
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.

1 participant