Skip to content

Commit

Permalink
feat: common JWT constants (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini authored Jun 21, 2024
1 parent e60af85 commit fccea00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/auth-common/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ export const AUTH_TYPES = {
export const HEADERS = {
CLIENT_ID: "X-Auth-ClientId",
};

export const JWT = {
ALG: "RS256",
USER_ID_KEY: "_id",
ISSUER: "gizmette.com",
};

0 comments on commit fccea00

Please sign in to comment.