-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(api-key): Add api-key authentication to middleware #6521
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
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.
LGTM, clean PR @sradevski. Left a couple of comments.
integration-tests/plugins/__tests__/api-key/admin/api-key.spec.ts
Outdated
Show resolved
Hide resolved
0f47026
to
4b61adc
Compare
4b61adc
to
647fb4a
Compare
@olivermrbl please check the last commit for the basic auth approach. |
LGTM |
Also did a bit of a cleanup on the auth middleware. There should be no behavioral changes, just moved code around.