Skip to content

Commit

Permalink
add additional security TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
freemvmt committed Oct 31, 2024
1 parent a5fc00e commit 2d24531
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.planx.uk/modules/auth/strategy/microsoft-oidc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const verifyCallback: StrategyVerifyCallbackReq<Express.User> = async (
done,
): Promise<void> => {
// TODO: use tokenSet.state to pass the redirectTo query param through the auth flow
// TODO: validate id_token sig with the public key from the jwks_uri (...v2.0/keys)
const claims: IdTokenClaims = tokenSet.claims();

// ensure the response is authentic by comparing nonce
Expand Down

0 comments on commit 2d24531

Please sign in to comment.