Skip to content
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

fix(clerk-js): Fix broken enterprise connection icon for custom SAML provider #4809

Conversation

LauraBeatris
Copy link
Member

Description

Resolves ORGS-434

Previously, it was merging the provider key to our CDN URL, therefore SAML custom was resolving to an invalid path/asset:

image

FAPI already returns a logo URL which is serialized for each enterprise connection type, and we can always trust that now instead of concatenating manually.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@LauraBeatris LauraBeatris self-assigned this Dec 18, 2024
Copy link

changeset-bot bot commented Dec 18, 2024

🦋 Changeset detected

Latest commit: ade9e69

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

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

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 4:22pm

@LauraBeatris LauraBeatris marked this pull request as draft December 18, 2024 21:11
@LauraBeatris LauraBeatris requested a review from a team December 18, 2024 21:12
@LauraBeatris LauraBeatris marked this pull request as ready for review December 18, 2024 21:13
@LauraBeatris LauraBeatris changed the title fix(clerk-js): Display enterprise connection icon from FAPI response fix(clerk-js): Fix broken enterprise connection icon for custom SAML provider Dec 18, 2024
Copy link
Member

@mzhong9723 mzhong9723 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it look like now? The default logo from FAPI

@LauraBeatris
Copy link
Member Author

@mzhong9723

CleanShot 2024-12-18 at 18 35 18@2x

CleanShot 2024-12-18 at 18 35 47@2x

@LauraBeatris LauraBeatris force-pushed the laura/orgs-434-fix-broken-icon-for-custom-saml-account-connection-type-on branch from dcd6f7c to e872809 Compare December 19, 2024 11:14
@LauraBeatris LauraBeatris force-pushed the laura/orgs-434-fix-broken-icon-for-custom-saml-account-connection-type-on branch from e872809 to ade9e69 Compare December 19, 2024 16:20
@LauraBeatris LauraBeatris enabled auto-merge (squash) December 19, 2024 16:21
@LauraBeatris LauraBeatris merged commit 99f7536 into main Dec 19, 2024
29 checks passed
@LauraBeatris LauraBeatris deleted the laura/orgs-434-fix-broken-icon-for-custom-saml-account-connection-type-on branch December 19, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants