Skip to content

Commit

Permalink
fix: email verified
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjoeoui committed Apr 29, 2024
1 parent 16b96cb commit 1051aa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/server/src/routes/auth/entra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const AuthEntraRoute = new Elysia({
.values({
id: userId,
email: user.email,
emailVerified: user.email_verified,
emailVerified: true, // NOTE: Entra doesn't provide email_verified it seems like
})
.execute();

Expand Down Expand Up @@ -163,6 +163,5 @@ export const AuthEntraRoute = new Elysia({
interface EntraUser {
sub: string;
email: string;
email_verified: boolean;
picture: string;
}

0 comments on commit 1051aa2

Please sign in to comment.