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

not working with next auth v5 #1

Open
tobiasmeyhoefer opened this issue May 5, 2024 · 5 comments
Open

not working with next auth v5 #1

tobiasmeyhoefer opened this issue May 5, 2024 · 5 comments
Assignees

Comments

@tobiasmeyhoefer
Copy link

sadly this is not working with next auth v5 currently

@Ashutosh-Bhadauriya
Copy link
Collaborator

Hey @tobiasmeyhoefer yeah the next-auth passkey provider only works with next-auth v4 as of now.

@tobiasmeyhoefer
Copy link
Author

tobiasmeyhoefer commented May 6, 2024

Thanks @Ashutosh-Bhadauriya for responding :) is an update in near future planned?

@Ashutosh-Bhadauriya
Copy link
Collaborator

Yup, as soon as v5 is out of beta or maybe even sooner. Also, saw your comment on discord, yes can use the code in the discussion and it will work with drizzleAdaptor too, but you'll need to use session: { strategy: "jwt" }

@tobiasmeyhoefer
Copy link
Author

It actually is out of beta for nextjs at least it's written on there new webpage...

Can i also use this approach:

https://docs.hanko.io/passkey-api/js-sdk

And then without session strategy set to jwt @Ashutosh-Bhadauriya ?

@Ashutosh-Bhadauriya
Copy link
Collaborator

Ashutosh-Bhadauriya commented May 6, 2024

Ahh cool, we'll adding v5 support soon then and yes you can use js-sdk approach but not sure if without setting session: { strategy: "jwt" } @merlindru your thoughts?

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