Auth0
-
Hi all.
I’d like to integrate a new Quasar v2 SPA with Auth0.
I’m following the tutorial at https://auth0.com/docs/quickstart/spa/vuejs but, being new to Quasar, I’m stuck at the step “Create an Authentication Wrapper”.
Can somebody help me understand what’s the correct way to implement the wrapper in Quasar? Or is there a better way to integrate Auth0?
My environment:
$ quasar info Operating System - Darwin(20.3.0) - darwin/x64 NodeJs - 12.21.0 Global packages NPM - 6.14.11 yarn - Not installed @quasar/cli - 1.1.3 @quasar/icongenie - 2.3.3 cordova - Not installed Important local packages quasar - 2.0.0-beta.9 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time @quasar/app - 3.0.0-beta.9 -- Quasar Framework local CLI @quasar/extras - 1.9.19 -- Quasar Framework fonts, icons and animations eslint-plugin-quasar - Not installed vue - 3.0.6 -- vue vue-router - 4.0.3 -- This is the repository for Vue Router 4 (for Vue 3) vuex - 4.0.0 -- state management for Vue.js electron - Not installed electron-packager - Not installed electron-builder - Not installed @babel/core - 7.13.10 -- Babel compiler core. webpack - 4.44.1 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff. webpack-dev-server - 3.11.2 -- Serves a webpack app. Updates the browser on changes. workbox-webpack-plugin - Not installed register-service-worker - 1.7.2 -- Script for registering service worker, with hooks typescript - 4.2.2 -- TypeScript is a language for application scale JavaScript development @capacitor/core - Not installed @capacitor/cli - Not installed @capacitor/android - Not installed @capacitor/ios - Not installed Quasar App Extensions *None installed*
TIA.
Alessandro
-
for an SPA you could try this:
https://adodson.com/hello.js/ -
Any luck with V2 and auth0? I’m currently working through this at the moment.