Skip to content

udplabs/pet-zero

Repository files navigation

Modern Pet Store eCommerce App

Automatically synced with your v0.app deployments

Deployed on Vercel Built with v0

Overview

This repository will stay in sync with your deployed chats on v0.app. Any changes you make to your deployed app will be automatically pushed to this repository from v0.app.

Auth0 Config

  1. Go to Auth0.com and login in if you have an existing tenant or sign up to create a new one
  2. Under Authentication Menu on the left - Click Database and make sure you have a Database Connection if not Create a DB Connection - Username-Password-Authentication
  3. Under Applications Menu on the left - Click Create Application and choose - Regular Web Application
  4. Under Branding Menu on the left - Click Universal Login and update as you want and remember to click Save
  5. Under Security Menu on the left - Click Multifactor Auth
  • 1 - Enable a MFA Factor if you desire
  • 2 - Define a Policy
  • 3 - Click Save
  1. Update the Application URIs (Make sure you click SAVE)

Set Your Vercel Environment Variables (Make sure you have completed the Auth0 Config Steps first)

  1. When you are in V0 and on your project click Environment Variables on the Left Navaigation
  2. If it does not exist create a variable called AUTH0_AUDIENCE and update it to your Auth0 tenant API URI (e.g https://dev-6--m6if2.us.auth0.com/api/v2/)
  3. If it does not exist create a variable called APP_BASE_URL and update it to your V0 App URL (e.g https://retail.auth.rocks)
  4. If it does not exist create a variable called AUTH0_SCOPE and update it to the scopes you wish to use, by default set to openid profile email
  5. If it does not exist create a variable called AUTH0_DOMAIN and update it to your Auth0 tenant Domain (e.g dev-6--m6if2.us.auth0.com)
  6. If it does not exist create a variable called AUTH0_CLIENT_SECRET which can be copied from going into your Auth0 tenant > Applications > Clicking on your App you created
  7. If it does not exist create a variable called AUTH0_CLIENT_ID which can be copied from going into your Auth0 tenant > Applications > Clicking on your App you created
  8. If it does not exist create a variable called AUTH0_SECRET by opening a terminal window and executing openssl rand -hex 32 and then copy the value

Deployment

This project is live at:

https://retail.auth.rocks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •