Skip to content

Commit

Permalink
fix: Add AuthIdentityMicrosoft (#9612)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch committed Apr 9, 2024
1 parent 72fc294 commit e3d8b38
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/server/graphql/public/typeDefs/_legacy.graphql
Expand Up @@ -249,6 +249,22 @@ type AuthIdentityGoogle implements AuthIdentity {
id: ID!
}

"""
An authentication strategy using Microsoft
"""
type AuthIdentityMicrosoft implements AuthIdentity {
"""
true if the email address using this strategy is verified, else false
"""
isEmailVerified: Boolean!
type: AuthIdentityTypeEnum!

"""
The Microsoft ID for this strategy
"""
id: ID!
}

"""
An authentication strategy to log in to Parabol
"""
Expand Down
2 changes: 2 additions & 0 deletions packages/server/graphql/rootTypes.ts
Expand Up @@ -2,6 +2,7 @@ import ActionMeetingMember from './types/ActionMeetingMember'
import ActionMeetingSettings from './types/ActionMeetingSettings'
import AgendaItemsPhase from './types/AgendaItemsPhase'
import AuthIdentityGoogle from './types/AuthIdentityGoogle'
import AuthIdentityMicrosoft from './types/AuthIdentityMicrosoft'
import AuthIdentityLocal from './types/AuthIdentityLocal'
import AzureDevOpsWorkItem from './types/AzureDevOpsWorkItem'
import CheckInPhase from './types/CheckInPhase'
Expand Down Expand Up @@ -40,6 +41,7 @@ const rootTypes = [
IntegrationProviderOAuth2,
IntegrationProviderWebhook,
AuthIdentityGoogle,
AuthIdentityMicrosoft,
AuthIdentityLocal,
CheckInPhase,
ReflectPhase,
Expand Down

0 comments on commit e3d8b38

Please sign in to comment.