corbado / example-passkeys-nextjs Goto Github PK
View Code? Open in Web Editor NEWNext.js (TypeScript) repository of a sample app that offers passkey authentication.
Home Page: https://www.corbado.com/passkeys/next-js
License: MIT License
Next.js (TypeScript) repository of a sample app that offers passkey authentication.
Home Page: https://www.corbado.com/passkeys/next-js
License: MIT License
Greetings,
When using Next.js 14 and @corbado/webcomponent
, the sign up flow breaks, producing an error.
After clicking Sign up, the sign up UI should display without errors.
In development mode, an Integration error UI is displayed.
git clone https://github.com/anodale/example-passkeys-nextjs && cd example-passkeys-nextjs
.env.*
with project IDgit checkout next14 && npm i && npm run dev
http://localhost:3000
in browser and click Sign upStart conditional ui
package.js:7146 Webauthn challenge Object
app-index.js:35 Fetched error TypeError: Cannot create property '__NA' on string ''
at copyNextJsInternalHistoryState (app-router.js:150:19)
at History.pushState (app-router.js:386:20)
at Ra.switchPage (package.js:6868:40)
at eval (package.js:6342:31)
at eval (package.js:6720:25)
at Array.forEach (<anonymous>)
at eval (package.js:6719:23)
at Ra._withCommit (package.js:6798:40)
at Ra.commit (package.js:6718:28)
at Ra.commit (package.js:6671:30)
at Proxy.SignUp (package.js:8041:52)
at i.allowUserRegistration.rr.onClick.t.<computed>.t.<computed> (package.js:8169:66)
at Dt (package.js:2815:29)
at xt (package.js:2823:31)
at HTMLSpanElement.n (package.js:5050:41)
window.console.error @ app-index.js:35
app-index.js:35 Conditional ui failed User chose different login
"next": "14.1.0"
to "next": "^13"
in package.json
, the expected behavior is observedpackage.json
npx create-next-app@latest
with npx [email protected]
at step 4Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.