Skip to content

@asgardeo/[email protected]

Choose a tag to compare

@asgardeo-github-bot asgardeo-github-bot released this 24 Oct 09:14
· 199 commits to main since this release
16a735d

Minor Changes

  • #176
    966a562 Thanks
    @d3varaja! - Add TanStack Router integration package with protected route support

    Introduce @asgardeo/tanstack-router - a new integration package that provides seamless authentication support for
    TanStack Router applications.

    Key Features:

    • <ProtectedRoute> component for auth-guarded routes
    • Automatic redirect to sign-in for unauthenticated users
    • Integration with Asgardeo authentication context
    • Type-safe route protection

    Usage:

    import {ProtectedRoute} from '@asgardeo/tanstack-router';
    
    const Route = createFileRoute('/dashboard')({
      component: () => (
        <ProtectedRoute>
          <Dashboard />
        </ProtectedRoute>
      ),
    });

    Installation:

    npm install @asgardeo/tanstack-router

    This is the initial release of the TanStack Router integration package.

Patch Changes