Make sure to exchnage the auth0 information with your own in the auth.js
.
You can follow the full tutorial on Storyblok or simply use this as a boilerplate for your applications.
can be found on Storyblok. It guides you through the following steps:
- Introduction
- Environment Setup
- Prepare Auth0
- Auth0 Callback Route
- Auth0 + Vue.js Authentication
- Adding a Navigation Guard
- Accessing User Information
- Checkout this repository
- Exchange your Auth0 client settings in
src/auth.js
- Navigate into the project folder
- Execute
npm install
oryarn
to install dependencies - Start application:
npm run serve
I'm looking forward to receive your feedback, best place would definitly be in the comment section at the bottom of the tutorial on Storyblok.
This application/tutorial gives you a quick feeling of how to use Auth0 with your Vue.js application, you can also use it as a starting point for your projects.