This is the starter template demonstrates how to combine the Corbado' React Package, @corbado/react and Corbado's NodeJS SDK, @corbado/node and integrate it with Next.js for a seamless user experience.
These are the different pages that you will find in this application:
/: Home page/login: login component page/signup: Signup component page/dashboard: The dashboard has three nested routes:/: User Details page which uses@corbado/node-sdkto fetch complete details of the currently logged-in user./session-details: this page deserializes the session-token and show cases the details stored in the session-token./passkey-list: this page uses the@corbado/react's<PasskeyList/>component to showcase its use
- When you use a component from
@corbado/reacteither a UI component or a Provider component you need touse clientfor client side rendering as the components make use of react contexts.