Skip to content

kuwv/python-microservices

Repository files navigation

Implementing Python Microservices with OpenID-Connect/OAuth2

Index

Synopsis

This project is intended as a reference archicture for implementing OIDC/OAuth2 secure microserices using Python.

Description

This is intended to be a reference architecture to demonstrate various IAM implementations with Python.

Features

  • KeyCloak, Kong, and Mock endpoint
  • Resource endpoint
  • Ansible playbooks
  • Ansible Roles
  • UI with JS module imports
  • PKCE UI
  • Proxy KeyCloak / Kong

Setup

Using Vagrant

Start VM with application

vagrant up

Removing application from VM

vagrant provision --provision-with remove

Login

vagrant ssh

Using pipenv

Setup a virtual environment

pipenv shell

Install development dependencies

pipenv install --dev

Using automake

Build the application

make start

Tear-down the application

make stop

Check help for additional commands

make help