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

Support Next.js App Router #61

Open
janoschp opened this issue Mar 30, 2024 · 15 comments · May be fixed by ory/elements#240
Open

Support Next.js App Router #61

janoschp opened this issue Mar 30, 2024 · 15 comments · May be fixed by ory/elements#240

Comments

@janoschp
Copy link

Your integration tutorial (https://www.ory.sh/docs/getting-started/integrate-auth/nextjs) only shows how to do it with the pages router. However, my project uses the newer App router. How do I set it up with App router?

@aryaniyaps
Copy link

I think that a version that supports the app router is ready but hasn't been published to NPM yet. awaiting the release!

@DBulinski
Copy link

Hey @aryaniyaps thanks for your response! :) Do you have any ETA when the new version can be released? Are we talking about weeks / months / years? :D

@jetaggart
Copy link

Would love an update, we're all in on app router and can't integrate this without this.

@viktorbasta
Copy link

App Router support would be great!

@acgray
Copy link

acgray commented Jul 12, 2024

Another +1... all in on app router here too and desperate to migrate to Ory

@aryaniyaps
Copy link

Hey @aryaniyaps thanks for your response! :) Do you have any ETA when the new version can be released? Are we talking about weeks / months / years? :D

I'm not sure.. I'm not a maintainer here actually.. :)

@emmmarosewalker
Copy link

Any updates on this?

@aeneasr
Copy link
Member

aeneasr commented Jul 29, 2024

Hello, Ory Elements 1.0 is on the horizon where we support the latest Next features such as app router.

@ProfXponent
Copy link

Hello, Ory Elements 1.0 is on the horizon where we support the latest Next features such as app router.

hi could you provide a timeline or roadmap to support this?

what kind of timescale are we talking about? weeks? quarters?

@GWnbsp
Copy link

GWnbsp commented Nov 13, 2024

Another +1... all in on app router here too and desperate to migrate to Ory

@aeneasr
Copy link
Member

aeneasr commented Nov 13, 2024

Hello there! For the people who are super into cutting edge "in development" stuff, here is a working app router example. We're still working on finishing up the last pieces (in particular add tests to ensure everything works):

https://github.com/ory/elements/tree/aeneasr/add-nextjs-app-router-example-2/examples/nextjs-app-router

@aeneasr
Copy link
Member

aeneasr commented Nov 13, 2024

I believe we still need to publish @ory/nextjs package which can happen once the PR is merged.

@GWnbsp
Copy link

GWnbsp commented Nov 14, 2024

When I used it, I found that it was in development, but it was an exciting feat

@aeneasr
Copy link
Member

aeneasr commented Nov 14, 2024

We are still in development so this is only a preview for now but we wanted to share our progress:)

@GWnbsp
Copy link

GWnbsp commented Nov 14, 2024

Thank you for sharing the development progress! While it's still in development, it's really exciting to see a preview version with App Router support. I'll keep following the project's progress and looking forward to the official release.

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

Successfully merging a pull request may close this issue.

10 participants