releases.shpreview

useHostedAuth() hook for native Account Portal sign-in

@clerk/expo@4.1.0

2 features1 fixThis release2 featuresNew capabilities1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗

Minor Changes

  • Introduce the useHostedAuth() hook for signing users in or up through Clerk's hosted Account Portal from native Expo apps. (#8960) by @mikepitre

    import { useHostedAuth } from '@clerk/expo/hosted-auth';
    
    const { startHostedAuth } = useHostedAuth();
    
    // Opens Account Portal on the sign-in page
    await startHostedAuth();
    
    // Or open the sign-up page first
    await startHostedAuth({ mode: 'sign-up' });

Patch Changes

  • Bump the bundled clerk-ios SDK from 1.3.3 to 1.3.4. See the Clerk iOS release: https://github.com/clerk/clerk-ios/releases/tag/1.3.4. (#9250) by @clerk-cookie

  • Add a logo prop to the native AuthView, allowing Expo apps to replace the dashboard-configured logo with custom React Native content on Android and iOS. (#9163) by @swolfand

  • Keep the active session when a native client change resolves to a different, signed-out client. The check that discards those clients compared a reference that the refresh had already mutated, so it never engaged and the signed-out client was applied over the current session. (#8960) by @mikepitre

  • Updated dependencies [e35d971]:

    • @clerk/clerk-js@6.25.10
    • @clerk/react@6.12.8

Fetched July 27, 2026

useHostedAuth() hook for native Account Portal sign-in… — releases.sh