From ed367f373a3ee7ba409de88317e6c2e3996bc210 Mon Sep 17 00:00:00 2001 From: Anthony DePasquale Date: Sun, 13 Apr 2025 13:17:13 +0200 Subject: [PATCH] Comma before non-restrictive clause --- docs/content/docs/plugins/jwt.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/docs/plugins/jwt.mdx b/docs/content/docs/plugins/jwt.mdx index f071acd636..2674efe5de 100644 --- a/docs/content/docs/plugins/jwt.mdx +++ b/docs/content/docs/plugins/jwt.mdx @@ -122,8 +122,8 @@ async function validateToken(token: string) { new URL('http://localhost:3000/api/auth/jwks') ) const { payload } = await jwtVerify(token, JWKS, { - issuer: 'http://localhost:3000', // Should match your JWT issuer which is the BASE_URL - audience: 'http://localhost:3000', // Should match your JWT audience which is the BASE_URL by default + issuer: 'http://localhost:3000', // Should match your JWT issuer, which is the BASE_URL + audience: 'http://localhost:3000', // Should match your JWT audience, which is the BASE_URL by default }) return payload } catch (error) { @@ -158,8 +158,8 @@ async function validateToken(token: string) { keys: storedJWKS.data?.keys!, }) const { payload } = await jwtVerify(token, JWKS, { - issuer: 'http://localhost:3000', // Should match your JWT issuer which is the BASE_URL - audience: 'http://localhost:3000', // Should match your JWT audience which is the BASE_URL by default + issuer: 'http://localhost:3000', // Should match your JWT issuer, which is the BASE_URL + audience: 'http://localhost:3000', // Should match your JWT audience, which is the BASE_URL by default }) return payload } catch (error) {