-
-
Notifications
You must be signed in to change notification settings - Fork 664
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: Add bearer token support #6934
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
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.
✅ Code Health Quality Gates: OK
- Improving Code Health: 1 findings(s) ✅
@@ -64,14 +59,9 @@ describe('bearerTokenMiddleware', () => { | |||
expect(req.headers.authorization).toBe(exampleSignalToken); | |||
}); | |||
|
|||
it('should always run for signal endpoint, regardless of the flag', () => { |
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.
ℹ Getting worse: Code Duplication
introduced similar code in: 'should always run for signal endpoint, regardless of the flag, with base path','should always run for signal endpoint, without base path'
@@ -16,11 +16,6 @@ describe('bearerTokenMiddleware', () => { | |||
beforeEach(() => { | |||
config = createTestConfig({ | |||
getLogger, | |||
experimental: { |
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.
✅ Getting better: Code Duplication
reduced similar code in: 'should always run for signal endpoint, regardless of the flag','should always run for signal endpoint, regardless of the flag, supporting instance path'
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
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.
✅ Code Health Quality Gates: OK
- Improving Code Health: 1 findings(s) ✅
About the changes
Removes the bearer token middleware flag for GA