docs: unable to access examples stackblitz due to insufficient permissions #2909

Closed
opened 2026-03-13 10:27:13 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @clicktodev on GitHub (Feb 23, 2026).

the open in stackblitz link returns a permission error
https://www.better-auth.com/docs/examples/next-js

Image
Originally created by @clicktodev on GitHub (Feb 23, 2026). the open in stackblitz link returns a permission error https://www.better-auth.com/docs/examples/next-js <img width="646" height="636" alt="Image" src="https://github.com/user-attachments/assets/c41ef8e6-f787-4ce9-95d6-873f3a5b6bc0" />
GiteaMirror added the documentation label 2026-03-13 10:27:13 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 23, 2026):

This is a known issue. The examples require backend services, databases, and sensitive environment variables that cannot be securely provided in a public cloud environment.

There's also a bug in the ForkButton component — despite being labeled "Open in StackBlitz," it actually generates CodeSandbox URLs, which explains the CodeSandbox workspace error you're seeing.

The maintainers are aware and working on refactoring the examples. In the meantime, you can run examples locally by cloning the repo and following the README instructions.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Feb 23, 2026): <!-- Answer --> This is a [known issue](https://github.com/better-auth/better-auth/issues/4290). The examples require backend services, databases, and sensitive environment variables that cannot be securely provided in a public cloud environment. There's also a bug in the [ForkButton component](https://github.com/better-auth/better-auth/blob/9c78e5cb18945077e03697c42a7c35037ab81a86/docs/components/fork-button.tsx) — despite being labeled "Open in StackBlitz," it actually generates CodeSandbox URLs, which explains the CodeSandbox workspace error you're seeing. The maintainers are aware and working on refactoring the examples. In the meantime, you can run examples locally by cloning the repo and following the README instructions. <!-- 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/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4fd03562-c05c-4dbd-8a2d-f2d40879ff18?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/cdda13d9-dd27-4d31-b09a-5d8bec92de21/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20%5Bknown%20issue%5D%28https%3A//github.com/better-auth/better-auth/issues/4290%29.%20The%20examples%20require%20backend%20services%2C%20databases%2C%20and%20sensitive%20environment%20variables%20that%20cannot%20be%20securely%20provided%20in%20a%20public%20cloud%20environment.%0A%0AThere%27s%20also%20a%20bug%20in%20the%20%5BForkButton%20component%5D%28https%3A//github.com/better-auth/better-auth/blob/9c78e5cb18945077e03697c42a7c35037ab81a86/docs/components/fork-button.tsx%29%20%E2%80%94%20despite%20being%20labeled%20%22Open%20in%20StackBlitz%2C%22%20it%20actually%20generates%20CodeSandbox%20URLs%2C%20which%20explains%20the%20CodeSandbox%20workspace%20error%20you%27re%20seeing.%0A%0AThe%20maintainers%20are%20aware%20and%20working%20on%20refactoring%20the%20examples.%20In%20the%20meantime%2C%20you%20can%20run%20examples%20locally%20by%20cloning%20the%20repo%20and%20following%20the%20README%20instructions.)&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/8108)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2909