-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't workingstatus: verifiedIf an issue has been reproducedIf an issue has been reproduced
Description
Plugin version
0.9.0
Payload version
3.59.1
Auth.js version
5.0.0-beta.29
Describe the bug
When upgrading to v0.9.0, I have followed the guide at https://github.com/CrawlerCode/payload-authjs/releases/tag/v0.9.0. The setup that used to work flawlessly under v0.8.4 now fails with the following error message:
This feels related to the WebAuthn passkey support which was added, but we're not actually using it.
I have done a little bit of digging and I saw that next-auth specifies the library in question (@simplewebauthn/browser) as a peerDependency but optional.
Of course the simplest solution would be to just install @simplewebauthn/browser but (a) we don't need it and (b) if it is now required for your project then it should be listed as dependency.
To Reproduce
- Install the library v0.9.0 into your existing Payload project
- Try to open the Payload landing page
- Observe error message
Additional context / Screenshots
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstatus: verifiedIf an issue has been reproducedIf an issue has been reproduced