safedep / platform.safedep.io

SafeDep Platform Frontend
Apache License 2.0
0 stars 0 forks source link

Post-Authentication Onboarding Page #8

Open abhisek opened 1 day ago

abhisek commented 1 day ago

The purpose of onboarding page is to render the form to collect the information required to onboard a user in SafeDep Cloud and create a tenant for the user. This is a post-auth operation i.e. available only after authentication with Auth0 is completed.

After authentication we need to check if user is authenticated and if so, redirect user to /onboard which is our post-auth tenant on-boarding page.

See more information about server actions: https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#forms

Wireframe for /onboard is given below

Image

Ref: