Skip to main content

Authentication

Authentication Service is simply used to store all identities (services + customers + employees + partners). Provide login APIs for each client.

1. Tech stacks

2. Develop

Prepare your environment variables and configure it based on configs/config.yaml file.

Start the server

kratos run

3. Database Tables

ER Diagram

Note:

  • accounts: Manage accounts of Service, Customer, Employee, Partner without login informations on PMC system.
  • services: Manage services on PMC system.
  • sessions: Manage refresh token of the account on PMC system.