Skip to content

Releases: kernel/managed-auth-react

@onkernel/managed-auth-react@0.3.0

15 May 20:20
972ab50

Choose a tag to compare

Minor Changes

  • #13 fc77370 Thanks @masnwilliams! - Auto-resolve SSO provider icons via the Simple Icons CDN. getSSOProviderInfo now slugifies any provider key and renders its brand icon from https://cdn.simpleicons.org/<slug>, with a circular letter-avatar fallback when the icon fails to load. Removes the hardcoded GoogleMark / GitHubMark / GitLabMark / MicrosoftMark / FacebookMark / AppleMark SVGs in favor of the generic resolver, so new providers render out of the box without library changes. Non-brand keys (passkey, sso, saml) keep their built-in icons.

Patch Changes

  • #10 74f27bc Thanks @Tom-Achache! - Guard the bootstrap effect in useManagedAuthSession against React 18+ Strict Mode's mount → cleanup → mount double-invocation. Without the guard, the second mount re-fires exchangeHandoffCode with a now-consumed handoff code and the component lands in the error state ("Failed to start session") even when auth would have worked. Tracked per (sessionId, handoffCode) so a genuine prop change still triggers a fresh exchange.

  • #13 fc77370 Thanks @masnwilliams! - Wrap button and option text when content overflows. .kma-button previously used white-space: nowrap and a fixed height, so long MFA / SSO / sign-in option labels clipped past the card on narrower viewports. Switched to min-height plus overflow-wrap: anywhere so labels wrap and the row grows to fit, and added padding + min-width: 0 on .kma-sso-button so its label can shrink.

v0.1.0

01 May 18:24

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0-alpha.3...v0.1.0

v0.1.0-alpha.3

01 May 18:17

Choose a tag to compare