This starter template demonstrates how to combine the Corbado's React component, @corbado/react and Corbado's Node.js SDK, @corbado/node-sdk 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/profile: The profile 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 Corbado's short-term session (stored as JWT) and showcases the stored details./passkey-list: This page uses the@corbado/react's<PasskeyList/>component to display available passkeys.
- 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.
If you encounter any bugs or have suggestions, please open an issue.
Join our Slack channel to discuss questions or ideas with the Corbado team and other developers.
You can also reach out to us via email at vincent.delitz@corbado.com.
Please report suspected security vulnerabilities in private to security@corbado.com. Please do NOT create publicly viewable issues for suspected security vulnerabilities.