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

feat: support custom role and jwt keys #947

Merged
merged 2 commits into from
Mar 21, 2023
Merged

feat: support custom role and jwt keys #947

merged 2 commits into from
Mar 21, 2023

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Mar 21, 2023

What kind of change does this PR introduce?

feature

What is the new behavior?

Additional jwt tokens can be injected into kong.yaml via env var. For example, the following env var allows jwt token for role read_only to be authenticated with kong.

SUPABASE_AUTH_READ_ONLY_KEY=<jwt_token> supabase start

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from a team as a code owner March 21, 2023 09:17
@coveralls
Copy link

coveralls commented Mar 21, 2023

Pull Request Test Coverage Report for Build 4477650227

  • 17 of 17 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.07%) to 62.682%

Files with Coverage Reduction New Missed Lines %
internal/start/start.go 1 87.79%
Totals Coverage Status
Change from base Build 4477094397: 0.07%
Covered Lines: 3838
Relevant Lines: 6123

💛 - 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.

None yet

3 participants