Orion Login
The Orion Login is a user interface component that provides a sign in and sign up form to authenticate users with the Orion Users Service.
Features
The Orion Login component provides the following features:
- Sign-up page
- Sign-in page
Installation
Install the module to your Nuxt application with one command:
npx nuxi module add orion-login
For more information about installation, please, look at the npm package: @orion-services/orion-login.
Usage
To use the Orion Login component in your Nuxt application, import the component and include it in your template. The component will render a sign in and sign up form.
<template>
<OrionLogin />
</template>
Properties
The component accepts the following properties:
- url: The base URL of the Orion Users Service. Default is
http://localhost:8080/users. - success-login-path: The path to redirect the user after a successful login. Default is
/.
Example
<template>
<OrionLogin
url="https://users.orion-services.dev"
success-login-path="/talk"
/>
</template>
Backend: Orion Users Service
Coming soon
The Orion Login component communicates with the Orion Users Service to authenticate users. The backend is available at Docker Hub as a Docker image. To run the backend, use the following command:
docker run -p 8080:8080 orionservices/orion-users