StackBlitz Live Examples are not working. #1803

Closed
opened 2026-03-13 09:04:38 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @rutzuu on GitHub (Aug 28, 2025).

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

  1. Go to https://www.better-auth.com/docs/examples/next-js or any other examples tab
  2. See demo frame below or Open in StackBlitz.
  3. See issue "Unable to access workspace"

Current vs. Expected behavior

I expected the examples to work, but it's not.

What version of Better Auth are you using?

current

System info

Arc browser

Which area(s) are affected? (Select all that apply)

Documentation

Auth config (if applicable)

import { betterAuth } from "better-auth"
export const auth = betterAuth({
  emailAndPassword: {  
    enabled: true
  },
});

Additional context

No response

Originally created by @rutzuu on GitHub (Aug 28, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce 1. Go to https://www.better-auth.com/docs/examples/next-js or any other examples tab 2. See demo frame below or Open in StackBlitz. 3. See issue "Unable to access workspace" ### Current vs. Expected behavior I expected the examples to work, but it's not. ### What version of Better Auth are you using? current ### System info ```bash Arc browser ``` ### Which area(s) are affected? (Select all that apply) Documentation ### Auth config (if applicable) ```typescript import { betterAuth } from "better-auth" export const auth = betterAuth({ emailAndPassword: { enabled: true }, }); ``` ### Additional context _No response_
GiteaMirror added the documentation label 2026-03-13 09:04:38 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 28, 2025):

Hi @rutzuu! I'm Dosu and I’m helping the better-auth team.

The StackBlitz Live Examples for Better Auth aren't working because the Next.js demo requires sensitive environment variables, backend services, and real integrations (like databases, OAuth, Stripe, and email providers) that can't be securely or reliably provided in a public StackBlitz environment. The demo is designed for local development, where you can set up the required secrets and services yourself. That's why you see the "Unable to access workspace" error—StackBlitz can't support the backend and secret management this demo needs to run properly. For now, the best way to try the examples is to clone the repo and run them locally as described in the demo's README here.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 28, 2025): <!-- Greeting --> Hi @rutzuu! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the better-auth team. <!-- Answer --> The StackBlitz Live Examples for Better Auth aren't working because the Next.js demo requires sensitive environment variables, backend services, and real integrations (like databases, OAuth, Stripe, and email providers) that can't be securely or reliably provided in a public StackBlitz environment. The demo is designed for local development, where you can set up the required secrets and services yourself. That's why you see the "Unable to access workspace" error—StackBlitz can't support the backend and secret management this demo needs to run properly. For now, the best way to try the examples is to clone the repo and run them locally as described in the demo's README [here](https://github.com/better-auth/better-auth/blob/6083855a5377e3e0dbb25b4ce915eaf35ce25ed2/demo/nextjs/README.md). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/ad273010-69b7-4cc3-a808-2191bba22eac?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/cdda13d9-dd27-4d31-b09a-5d8bec92de21/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/better-auth/better-auth/issues/4290)
Author
Owner

@himself65 commented on GitHub (Aug 28, 2025):

This is expected, we are working on refactoring them

@himself65 commented on GitHub (Aug 28, 2025): This is expected, we are working on refactoring them
Author
Owner

@rutzuu commented on GitHub (Aug 28, 2025):

Thanks for the quick response!

@rutzuu commented on GitHub (Aug 28, 2025): Thanks for the quick response!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1803