Just playing around with Svelte
You will need to create an Auth0 account and create a tenant. Once one is created click Create Application
A popup will appear, name your app and select Single Page Web Applications
.
Once this is done click on settings
and add http://localhost:5173/
to the following;
- Allowed Callback URLs
- Allowed Logout URLs
- Allowed Web Origins
Then create a file in the root directory .env.development
and add the following entries:
VITE_AUTH0_DOMAIN=AUTH0_DOMAIN_HERE
VITE_AUTH0_CLIENT_ID=AUTH0_CLIENT_ID_HERE
Once done you to start the dev server run:
# Install packages
npm i
# Run dev server
npm run dev -- --open