This is a proof-of-concept demo app for Cruise0, built off of the NodeJS/Express SPA Quickstart App.
The app can be run locally, by cloning the repository to your machine and then following the steps below. The Auth0 credentials in auth_config.json
are included for convenience.
After cloning the repository, run:
$ npm install
This will install all of the necessary packages in order for the sample to run.
This version of the application uses an Express server that can serve the site from a single page. To start the app from the terminal, run:
$ npm run dev
Then navigate to http://localhost:3000 in your browser to use and interact with the sample app.
This app was designed to meet the following requirements (and meets them partially):
Show how Auth0 can support the Cruise0 app modernization on ReactJS (you are free to build the PoC single page application in your preferred language for demonstration purposes).
✅ The Quickstart templates for Auth0 demonstrate many proof-of-concept approaches for different tech stacks. I built this one off the Vanilla JS template, but there are options for React as well.
Show how a new customer can sign up, and how an existing customer can sign in with email/password, and Google.
✅ This app makes use of Auth0's Social Identity Providers feature, using Auth0's default credentials for Google apps, set up via the Auth0 Dashboard.
Ensure that customers who login with username/password and Google, with the same email address, will be treated as the same user. Also known as Account Linking.
✅ This app implements Account Linking via the Account Linking Extension.
Use Auth0 features to customize the profile page so both the photo and country flag are displayed without prompting users to input directly. If the photo and country of the customer are known, make sure this information is passed back to the application and shown after the user authenticates.
This project is licensed under the MIT license. See the LICENSE file for more info.