Skip to content

Add support for WorkOS Auth#2398

Draft
stripuramallu3 wants to merge 5 commits into
garden-co:mainfrom
stripuramallu3:sree/add-workos-support
Draft

Add support for WorkOS Auth#2398
stripuramallu3 wants to merge 5 commits into
garden-co:mainfrom
stripuramallu3:sree/add-workos-support

Conversation

@stripuramallu3
Copy link
Copy Markdown

@stripuramallu3 stripuramallu3 commented Jun 2, 2025

This PR attempts to add support for WorkOS with Jazz.

WorkOS_Jazz.mov

jazz-auth-workos
This package integrates WorkOS authentication into the Jazz framework, providing a bridge between WorkOS user sessions and Jazz account management.

  • JazzWorkOSAuth Class
    • Handles authentication initialization for users authenticated via WorkOS + loads and stores Jazz credentials (account ID, secret, and optional seed) in a secure storage.
    • Provides a signOut abstraction that clears credentials and signs the user out of WorkOS.
  • Type Definitions
    • Exposes types for WorkOS authentication hooks, redirect options, and Jazz credentials for use in other parts of an app.

jazz-react-auth-workos
It defines a React context (JazzWorkOSAuthContext) and provider (JazzWorkOSAuthProvider) that expose the WorkOS authentication interface and state to React components

workos
The example project that leverages jazz-react-auth-workos to illustrate how to integrate an application with Jazz + WorkOS

How to run the demo

  • Navigate to the examples/workos directory
  • Update the VITE_WORKOS_CLIENT_ID in the .env file
  • Run npm run dev

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2025

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

Name Status Preview Comments Updated (UTC)
file-upload-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
form-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
image-upload-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
jazz-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
jazz-chat-1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
jazz-chat-2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
jazz-inspector ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
jazz-pets ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
jazz-todo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
passkey-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
passphrase-auth-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
passwords-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am
reactions-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 0:42am

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2025

@stripuramallu3 is attempting to deploy a commit to the Garden Computing Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant