hasura / hasura/graphql-engine

server should start even when JWK server is down

Open
#3,636 7 comments 2 reactions 1 assignee Claimed by @0x777 View on GitHub
a/api c/server e/easy k/enhancement p/longterm
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

1. Hasura use jwk url to fetch pub keys
2. the jwk is hosted by a nextjs server
3. the server use admin secret to get jwk from hasura from db

Due to the early initializing of jwk, the server can not get jwk from hasura, hasura can not startup.

If hasura can delay jwk initialize when needed can break the dependency cycle.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.