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

Enable Auth0 #3857

Merged
merged 4 commits into from
Jan 31, 2025
Merged

Enable Auth0 #3857

merged 4 commits into from
Jan 31, 2025

Conversation

zricethezav
Copy link
Collaborator

Description:

Previously, I think, we disabled auth0 because it was too noisy since the verify loop is buried in a 3 deep nested loop. This means a single domain could be matched multiple times in the same chunk.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@zricethezav zricethezav requested review from a team as code owners January 28, 2025 21:45
Comment on lines 40 to 41
clientIdMatches := clientIdPat.FindAllStringSubmatch(dataStr, -1)
clientSecretMatches := clientSecretPat.FindAllStringSubmatch(dataStr, -1)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why isn’t the uniqueness logic applied to both Id and Secret?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, each pattern should be unique

@zricethezav zricethezav merged commit 6d3ba1f into main Jan 31, 2025
13 checks passed
@zricethezav zricethezav deleted the enable-auth0 branch January 31, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants