Vue
A Vue app with sign-in through the hosted page, built on the browser client.
StarterPlanned
This example is planned. Not built yet. This page is the specification for the example.
What you get
- A small auth service around the
LumoAuthclient andLumoAuthSession. - Sign-in, callback and sign-out.
- A route guard.
- A permission check for one button.
Create it
Create a Vue project with the tool of the framework, then:
npm install @lumoauth/client
Settings
| Variable | Value |
|---|---|
| Domain | https://app.lumoauth.dev |
| Organization | Your organization. |
| Client ID | The client ID of a public application. |
Next steps
- Hide parts of the page by permission: Show and hide UI by permission.
- Protect your API: Protect routes in each framework.