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

[Doc] Update Clerk guide to Next.js app router #1419

Open
ymc9 opened this issue May 9, 2024 · 2 comments
Open

[Doc] Update Clerk guide to Next.js app router #1419

ymc9 opened this issue May 9, 2024 · 2 comments
Milestone

Comments

@ymc9
Copy link
Member

ymc9 commented May 9, 2024

https://zenstack.dev/docs/guides/authentication/clerk

@andrictham
Copy link

@ymc9 I managed to get Clerk working with ZenStack and App Router

Here's what my code looks like in /src/app/api/model/[...path]/route.ts: https://gist.github.com/andrictham/1f4d729f33a63ab1fa817b40418f6e35

@ymc9
Copy link
Member Author

ymc9 commented May 28, 2024

@ymc9 I managed to get Clerk working with ZenStack and App Router

Here's what my code looks like in /src/app/api/model/[...path]/route.ts: https://gist.github.com/andrictham/1f4d729f33a63ab1fa817b40418f6e35

Cool! Great to know that! I'll incorporate it into the docs.

Thank you for the help!

@ymc9 ymc9 added this to the v2.2.0 milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants