Skip to content

Commit

Permalink
feat: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Nov 23, 2024
1 parent 5a12b3f commit 52b2e23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keep-ui/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ const config = {
let tenantId: string | undefined = user.tenantId;
let role: string | undefined = user.role;
// Ensure we always have an accessToken
// https://github.com/nextauthjs/next-auth/discussions/4255
if (authType === AuthType.AZUREAD) {
// Properly handle Azure AD tokens
accessToken = account.access_token;
Expand Down

0 comments on commit 52b2e23

Please sign in to comment.