Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure to not update claims for sso in beforeUserCreated
Browse files Browse the repository at this point in the history
pauljohanneskraft committed Oct 24, 2024

Verified

This commit was signed with the committer’s verified signature.
ADubhlaoich Alan Dooley
1 parent c822a5b commit 85598f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion functions/src/services/user/databaseUserService.ts
Original file line number Diff line number Diff line change
@@ -217,7 +217,9 @@ export class DatabaseUserService implements UserService {
)
})

await this.updateClaims(userId)
if (!options.isSingleSignOn) {
await this.updateClaims(userId)
}
}

async deleteInvitation(invitation: Document<Invitation>): Promise<void> {

0 comments on commit 85598f3

Please sign in to comment.