New to Vue 3 and Auth0?
The Auth0 Vue 3 Code Samples can help you learn by example how Auth0 integrates with Vue 3 applications. However, if you want to learn by doing, you can follow any of the Auth0 Vue 3 Developer Guides from the "Vue 3/JavaScript Apps: Security and Identity Management" section.
The Developer Guides give detailed instructions on how to integrate Auth0 with Vue 3 applications written in JavaScript to cover a wide array of use cases, such as user authentication, route protection, and authenticated API calls.
Vue 3 JavaScript Code Samples
Vue 3/JavaScript + Composition API: Authentication Code Sample
Code sample of a simple Vue 3 single-page application built with JavaScript and the Composition API that implements authentication using the Auth0 Vue SDK.Vue 3/JavaScript + Options API: Authentication Code Sample
Code sample of a simple Vue 3 single-page application built with JavaScript and the Options API that implements authentication using the Auth0 Vue SDK.Vue 3/JavaScript: Authentication Plugin Code Sample
Code sample of a simple Vue 3 single-page application built with JavaScript that implements authentication using the Auth0 SPA SDK.Additional Resources
If you are new to identity and security, check out any of the following resources to get started:
Ready to secure your apps?
Get Auth0 for free with up to 7,000 active users and unlimited logins.