Setup Guide
Prerequisites
Docker and Docker-compose installed on your machine.
Clone the repository
git clone https://github.com/singhhp1069/authonomy.git
cd authonomy
Create a config.yaml
file
- Use the provided configuration or adjust it according to your needs.
- Ensure the file is in the root directory of the project.
Build and Run with Docker-Compose
- Use the docker-compose.yml file provided in the repository.
- Run the following command:
docker-compose up --build
Get the API key and access the API in swagger
- check all the running containers and inspect authonomy service
docker ps -a
docker inspect {container_id}
you will get the api key for the service and the open api swagger url as show below in the image.
Access the service
To access the service you can visit
http://localhost:8081/swagger
and use the x-api-key
what you got from the previous step.
As a developer the further steps:
- Setting up an application
- Link the Authentication Provider (e.g., facebook)
- Attach policy to the application (e.g., RBAC schema policy)
- Now you are ready to use it on application.
SDK and Demo
Complete demo video is:
TODO:: video link