Skip to content
Discussion options

You must be logged in to vote

Current method as of Quarkus 3.26.4

  • Under Supabase Project/Settings/JWT Keys - make sure the current JWT Signing Key method is EC256

Then set application.properties:

mp.jwt.verify.publickey.algorithm = ES256
mp.jwt.verify.publickey.location = https://${SUPABASE_PROJECT}.supabase.co/auth/v1/.well-known/jwks.json
mp.jwt.verify.issuer = https://${SUPABASE_PROJECT}.supabase.co/auth/v1

Can verify this via POST https://{{SUPABASE_PROJECT}}.supabase.co/auth/v1/token?grant_type=password and checking that JWT is indeed ES256. Then in Quarkus,

    @Inject
    JsonWebToken jwt;

should have the JWT populated.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jfslin
Comment options

@jfslin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jfslin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants