We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40896ea commit 46e3256Copy full SHA for 46e3256
1 file changed
1-Authentication/7-sign-in-express-mfa/App/auth/AuthProvider.js
@@ -78,6 +78,8 @@ class AuthProvider {
78
// Decode the access token payload
79
const tokenPayload = JSON.parse(atob(token.split('.')[1]));
80
console.log(tokenPayload);
81
+ // More infromation about the "mfa" can be found here.
82
+ // https://learn.microsoft.com/en-us/entra/identity-platform/access-token-claims-reference
83
return !tokenPayload.amr.includes("mfa");
84
}
85
0 commit comments