FastAPI application exposing a Restful API to manage Keycloak through Keycloak Admin API (https://www.keycloak.org/docs-api/22.0.1/rest-api/index.html) and Protection API (https://www.keycloak.org/docs/latest/authorization_services/index.html#_service_protection_api).
Explore the docs »
·
Report Bug
·
Request Feature
- Table of Contents
- About The Project
- Getting Started
- Documentation
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgements
FastAPI application exposing a Restful API to manage Keycloak through Keycloak Admin API (https://www.keycloak.org/docs-api/21.0.1/rest-api/index.html) and Protection API (https://www.keycloak.org/docs/latest/authorization_services/index.html#_service_protection_api).
Swagger docs are available at /docs.
Redoc docs are available at /redoc.
To get a local copy up and running follow these simple steps.
- Docker
or - Docker compose
or - Python
- Clone the repo
git clone https://github.com/EOEPCA/um-identity-api
- Change local directory
cd um-identity-api
-
Execute
3.1 Run with docker compose (Identity API + Keycloak + Postgres)
docker compose up -d --build
3.2 Run with Python
pip install -r requirements.txt uvicorn app.main:app
3.3 Run with Docker
docker build . --progress=plain -t um-identity-api:local docker run --rm -dp 8080:8080 --name um-identity-api um-identity-api:local
3.4 Run develop branch with Docker
docker run --rm -dp 8080:8080 --name um-identity-api ghcr.io/eoepca/um-identity-api:develop
3.5 Run master branch with Docker
docker run --rm -dp 8080:8080 --name um-identity-api ghcr.io/eoepca/um-identity-api:production
The component documentation can be found at https://eoepca.github.io/um-identity-api/.
Check Redoc page to try out the API, available at http://localhost:8080/redoc
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Apache-2.0 License. See LICENSE
for more information.
Project Link: https://github.com/EOEPCA/um-identity-api
- README.md is based on this template by Othneil Drew.