Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-Lyard committed Aug 11, 2024
2 parents 4e399ec + addb9c7 commit 7d30b83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const locales = ['en', 'fr'];
async function importKey() {
const alg = 'RS256';
const spki = process.env.JWT_PUBLIC_KEY!;
console.log('spki', spki);
const publicKey = await jose.importSPKI(spki, alg);
console.log('publicKey', publicKey);
return publicKey;
}

Expand Down

0 comments on commit 7d30b83

Please sign in to comment.