From 6de762bdbab1f6982508d17eb921bebcc349a8af Mon Sep 17 00:00:00 2001 From: Arno V Date: Mon, 15 Jul 2024 10:28:27 -0400 Subject: [PATCH] fix: adding missing AUTH_TYPE_KEY to JWT constant (#103) --- packages/auth-common/src/components/constants.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/auth-common/src/components/constants.ts b/packages/auth-common/src/components/constants.ts index 1556f28..a0aeb25 100644 --- a/packages/auth-common/src/components/constants.ts +++ b/packages/auth-common/src/components/constants.ts @@ -13,10 +13,13 @@ export const HEADERS = { export const JWT = { ALG: "RS256", + USER_ID_KEY: "sub", TOKEN_ID_KEY: "__raw", NONCE_KEY: "_nonce", USERNAME_KEY: "username", + AUTH_TYPE_KEY: "auth_type", + ISSUER: "gizmette.com", };