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 @beta 17 #80

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

not working with next auth v5 @beta 17 #80

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

Comments

@tobiasmeyhoefer
Copy link

Path: /passkey-api/next-auth

this approach is not working in next auth v5 facing this error:

TypeError: next_auth_providers_credentials__WEBPACK_IMPORTED_MODULE_1__.default.default is not a function
at PasskeyProvider (webpack-internal:///(rsc)/./node_modules/@teamhanko/passkeys-next-auth-provider/index.js:35:94)
at eval (webpack-internal:///(rsc)/./auth.ts:32:96)
at (rsc)/./auth.ts (/Users/tobiasmeyhoefer/Repositories/bitz/.next/server/app/[locale]/page.js:340:1)
at webpack_require (/Users/tobiasmeyhoefer/Repositories/bitz/.next/server/webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./components/navigation/NavBar.tsx:7:63)
at (rsc)/./components/navigation/NavBar.tsx (/Users/tobiasmeyhoefer/Repositories/bitz/.next/server/app/[locale]/page.js:362:1)
at webpack_require (/Users/tobiasmeyhoefer/Repositories/bitz/.next/server/webpack-runtime.js:33:42)
at eval (webpack-internal:///(rsc)/./app/[locale]/layout.tsx:13:87)
at (rsc)/./app/[locale]/layout.tsx (/Users/tobiasmeyhoefer/Repositories/bitz/.next/server/app/[locale]/page.js:318:1)
at Function.webpack_require (/Users/tobiasmeyhoefer/Repositories/bitz/.next/server/webpack-runtime.js:33:42) {
type: 'TypeError',
page: '/en'
}

@tobiasmeyhoefer tobiasmeyhoefer changed the title Issue on docs not working with next auth v5 @beta 17 May 5, 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

3 participants