A template repository including vitepress and simple auth0 authentication. Can be used for private vitepress pages.
Steps to use
- Claim auth0 project here
- Claim auth0 domain string like the following:
your_subdomain.eu.auth0.com
- Claim auth0 client id like the following (32-char-string):
l4oD58SilMNR61jhVDEb4PZBVtmWRMgh
- Insert your credentials at auth_config.ts
- Run your development environment:
yarn dev
- Check out the Vitepress docs here
- Remember to include your Allowed Callback URLs as well as Allowed Web Origins in the auth0 project.
- For development environments: *.localhost:port
- For production environments: https://*.fancy-pagename.com