Skip to main content

Vue SDK

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

The Choreo Identity & Access Management Vue SDK (@thunderid/vue) provides a comprehensive set of components, composables, and utilities to integrate Choreo Identity & Access Management authentication and user management into your Vue 3 applications.

Installation​

Install the Choreo Identity & Access Management Vue SDK using your preferred package manager:

npm install @thunderid/vue

Getting Started​

To get started quickly, check out our Vue Quickstart Guide for step-by-step instructions.

Use the redirect-based sign-in flow

Browser SPAs should sign in using the redirect-based OAuth2 authorization_code + PKCE flow. Use the <SignInButton /> component.

Initiating a sign-in flow directly in the browser, the embedded <SignIn /> component or useThunderID().signIn({ applicationId }) used standalone, is not supported for browser SPAs. See Register an application.

Features​

Providers​

The SDK provides a root provider component that manages authentication state across your application via Vue's provide/inject.

  • <ThunderIDProvider /> - Root provider component that wraps your application and manages authentication state

Components​

Pre-built, customizable components for common authentication flows and user management.

Action Components​

Control Components​

  • <SignedIn /> - Conditionally render content for authenticated users
  • <SignedOut /> - Conditionally render content for unauthenticated users
  • <Loading /> - Display loading state during authentication

User Self-care Components​

Composables​

Vue composables for programmatic access to authentication and user data.

  • useThunderID() - Access the main Choreo Identity & Access Management SDK instance

Customization​

All components in the Choreo Identity & Access Management Vue SDK are fully customizable. You can:

  • Override default styles using CSS classes or inline styles
  • Customize component behavior through props
  • Build custom components using the provided composables
  • Use scoped slots to control rendering

Was this page helpful?