hasura / hasura/graphql-engine
feat(c/v3-engine): introduce `jwkFromUrlFromEnv`
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Component
c/v3-engine
### Is your proposal related to a problem?
`jwkFromUrl` is hard-coded.
```yaml
kind: AuthConfig
definition:
mode:
jwt:
key:
jwkFromUrl: "https://hard-coded-url.com"
```
### Describe the solution you'd like
jwk URL can be different from prod, stg, dev, etc.
```yaml
kind: AuthConfig
definition:
mode:
jwt:
key:
jwkFromUrlFromEnv: JWK_URL
```
Contributor guide
Research direction
The proposal targets c/v3-engine's AuthConfig JWT key configuration; start by tracing the existing `jwkFromUrl` entry point and its environment/config handling. Done means the YAML form can source the JWK URL from `JWK_URL` while preserving the existing URL form, with coverage for both forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql
- Domain
- authentication, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100