-
Notifications
You must be signed in to change notification settings - Fork 407
feat(clerk-js,types): Surface enterprise accounts in UserProfile
#4518
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(clerk-js,types): Surface enterprise accounts in UserProfile
#4518
Conversation
🦋 Changeset detectedLatest commit: e71267b The changes in this PR will be included in the next version bump. This PR includes changesets to release 21 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
27932f1 to
4b3eb72
Compare
db250d9 to
6a5ddaa
Compare
UserProfileUserProfile
1815e12 to
16eda49
Compare
UserProfileUserProfile
16eda49 to
094f540
Compare
094f540 to
e5aa840
Compare
packages/clerk-js/src/ui/components/UserProfile/EnterpriseAccountsSection.tsx
Outdated
Show resolved
Hide resolved
e5aa840 to
d270ba9
Compare
UserProfileUserProfile
1a29195 to
e019947
Compare
e019947 to
d21ba70
Compare
|
@NicolasLopes7 Preserving the CleanShot.2024-11-12.at.15.31.01.mp4 |
6751683 to
3a253db
Compare
panteliselef
left a comment
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.
🛳️
Previously, SAML was the only supported enterprise type, therefore the UI description was only based on `SamlIdpSlug` It'll now use `EnterpriseProvider` to handle multiple connection types.
Using `user.enterpriseAccounts` to display on `UserProfile`, instead of `user.samlAccounts` This is going to support the upcoming connection types such as EASIE, OIDC Also, deletes `useSaml` hook as it was a weak abstraction around SAML constants for logo URLs and naming
Refer to `user.enterprise_accounts` to verify if the user is allowed to introduce additional identifications
3a253db to
d4cdd22
Compare

Description
Resolves ORGS-293, ORGS-294
Surfaces
user.enterprise_accountsinstead ofuser.saml_accounts. This is going to support multiple enterprise protocols from now on, such as OpenID connect.Checklist
npm testruns as expected.npm run buildruns as expected.Type of change