Skip to content

Commit

Permalink
feat: add unique strategy for all applications
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Lepage <[email protected]>
  • Loading branch information
VincentHardouin and nlepage committed Feb 14, 2025
1 parent 18e5615 commit f5b0e1a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/lib/infrastructure/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ const strategies = {
},
},

jwtApplication: {
name: 'jwt-application',
schemeName: schemes.jwt.name,
configuration: {
key: config.authentication.secret,
validate: validateClientApplication,
},
},

jwtLivretScolaire: {
name: 'jwt-livret-scolaire',
schemeName: schemes.jwt.name,
Expand Down

0 comments on commit f5b0e1a

Please sign in to comment.