Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NEXT_PUBLIC_ENABLE_NEXT_AUTH to clerk example #6309

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonassiewertsen
Copy link

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

As written in the release notes, it's necessary to add NEXT_PUBLIC_ENABLE_NEXT_AUTH if self hosting with docker.

From the release notes:

For users using clerk in self-built images, it is necessary to additionally configure NEXT_PUBLIC_ENABLE_NEXT_AUTH=0 to disable Next Auth

https://github.com/lobehub/lobe-chat/releases/tag/v1.52.0

📝 补充信息 | Additional Information

Copy link

vercel bot commented Feb 18, 2025

@jonassiewertsen is attempting to deploy a commit to the LobeChat Desktop Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 18, 2025
@lobehubbot
Copy link
Member

👍 @jonassiewertsen

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 📝 Documentation Improvements or additions to documentation | 文档问题 label Feb 18, 2025
@@ -27,6 +27,7 @@ Go to [Clerk](https://clerk.com?utm_source=lobehub\&utm_medium=docs) to register
```shell
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxx
CLERK_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxx
NEXT_PUBLIC_ENABLE_NEXT_AUTH=0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a better way is to add a Callout to show the self-built docker image need this env? as most clerk user doesn't need to add this env

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, it would be nice to clarify, when the env is needed and when it can be ignored.
The release note i provided says:

it's necessary to add NEXT_PUBLIC_ENABLE_NEXT_AUTH if self hosting with docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Documentation Improvements or additions to documentation | 文档问题 size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants