-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sso): allow to use OIDC and SAML #7246
Conversation
packages/twenty-server/src/engine/core-modules/sso/services/sso.service.ts
Outdated
Show resolved
Hide resolved
b36df35
to
1002d06
Compare
return await createOidcIdentityProviderMutation({ | ||
variables: { input }, | ||
onCompleted: (data) => { | ||
setSSOIdentitiesProviders((existingProvider) => [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@charlesBochet do you have an idea why this call does not refresh the list of providers used in the component SettingsSSOIdentitiesProvidersListCard.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure, let's investigate together tomorrow
f20766c
to
abedc1e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This pull request introduces Single Sign-On (SSO) functionality to the application, supporting both OIDC and SAML protocols. The changes focus on implementing SSO management in the settings area.
- Added new
SettingsSSOIdentitiesProvidersForm
component for configuring SSO providers - Implemented GraphQL mutations and queries for CRUD operations on SSO providers
- Created utility functions for parsing SAML metadata and determining SSO provider icons
- Added new
IS_SSO_ENABLED
feature flag to control SSO functionality across the app - Integrated SSO settings into existing navigation and routing components
30 file(s) reviewed, 22 comment(s)
Edit PR Review Bot Settings
...twenty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersForm.tsx
Outdated
Show resolved
Hide resolved
...twenty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersForm.tsx
Outdated
Show resolved
Hide resolved
...ty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersListCard.tsx
Outdated
Show resolved
Hide resolved
...ty-front/src/modules/settings/security/components/SettingsSSOIdentitiesProvidersListCard.tsx
Outdated
Show resolved
Hide resolved
...rc/modules/settings/security/components/SettingsSSOIdentitiesProvidersListEmptyStateCard.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/settings/security/utils/SSOIdentityProviderSchema.ts
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/settings/security/utils/gessIconByUrl.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/settings/security/utils/parseXMLMetadata.ts
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/settings/security/utils/parseXMLMetadata.ts
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/pages/settings/SettingsWorkspaceMembers.tsx
Outdated
Show resolved
Hide resolved
1160909
to
18d2420
Compare
@AMoreaux could you merge main into your branch and make sure the CIs are green? :) |
@@ -77,6 +77,7 @@ const StyledButton = styled.button< | |||
justify-content: center; | |||
outline: none; | |||
padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(3)}; | |||
max-height: ${({ theme }) => theme.spacing(8)}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure this one is useful!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congratulations, this is very clean!
Thanks for all the refactoring effort on the FE
What it does
Backend
Frontend