Minimal Vite + Vue 3 app using @authorizerdev/authorizer-vue 1.0.0-beta.0: login, signup and a profile page.
Any running Authorizer works. For a quick local one:
git clone https://github.com/authorizerdev/authorizer.git
cd authorizer
make devThis serves Authorizer on http://localhost:8080 with client ID kbyuFDidLLm280LIwVFiazOqjO3ty8KH (the values hard-coded in src/App.vue — change them to match your instance).
npm install
npm run devOpen http://localhost:5173, sign up or log in, and you land on the profile page showing the authenticated user.
src/App.vue— wraps the app inAuthorizerProvider(setauthorizerURL/clientIDhere)src/views/Login.vue—AuthorizerRootrenders the full login/signup/magic-link/forgot-password UIsrc/views/Profile.vue— readsuserfrom the injecteduseAuthorizercontext, logout button