Skip to content

fix(auth): pass GOTRUE_JWT_VALID_METHODS env var for GoTrue compat#4874

Open
cemalkilic wants to merge 1 commit intodevelopfrom
cemal/fix-pass-validmethods-bc
Open

fix(auth): pass GOTRUE_JWT_VALID_METHODS env var for GoTrue compat#4874
cemalkilic wants to merge 1 commit intodevelopfrom
cemal/fix-pass-validmethods-bc

Conversation

@cemalkilic
Copy link
Contributor

the envvar name is updated to be consistent with the rest. (supabase/auth#2334)
for now keeping the deprecated GOTRUE_JWT_VALIDMETHODS for backward compatibility, we can remove it in near future.

@cemalkilic cemalkilic requested a review from a team as a code owner February 19, 2026 06:37
@coderabbitai
Copy link

coderabbitai bot commented Feb 19, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Added support for new JWT environment variable name (GOTRUE_JWT_VALID_METHODS) for configuring allowed JWT signing methods.

Walkthrough

This change adds a new environment variable GOTRUE_JWT_VALID_METHODS to the configuration system alongside the existing GOTRUE_JWT_VALIDMETHODS. Both variables accept the same JWT signing methods (HS256, RS256, ES256). An inline comment was added indicating the old VALIDMETHODS variable should be removed after a transition period.


Comment @coderabbitai help to get the list of available commands and usage tips.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 22171331736

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.007%) to 61.78%

Files with Coverage Reduction New Missed Lines %
internal/utils/git.go 5 57.14%
Totals Coverage Status
Change from base Build 22142437948: 0.007%
Covered Lines: 7707
Relevant Lines: 12475

💛 - Coveralls

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.

2 participants

Comments