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

fix: added error if no tokens are valid when starting in strict mode #587

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

chriswk
Copy link
Member

@chriswk chriswk commented Nov 25, 2024

From conversations with customers, if you feed edge with invalid tokens in strict mode, edge will quietly reject the invalid tokens, but the initial check that we actually had tokens will succeed, so will happily continue running after rejecting the tokens.

This PR checks that have valid tokens after validating tokens on startup.

@chriswk chriswk requested a review from sighphyre November 25, 2024 13:47
@chriswk chriswk self-assigned this Nov 25, 2024
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link
Member

@sighphyre sighphyre left a comment

Choose a reason for hiding this comment

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

+1

LGTM

@chriswk chriswk merged commit 92c85db into main Nov 25, 2024
11 checks passed
@chriswk chriswk deleted the strictErrorOnInvalidToken branch November 25, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants