A containerised Kong gateway instance configured with OIDC plugin and using declarative configuration in DB-less mode.
- Docker
- OAuth 2.0 Credentials (for Google cloud example, see this)
- OAuth 2.0 should have
https://mockbin.org/
as an authorized redirect url
- Insert OAuth 2.0
client_id
andclient_secret
into.env
- Run
docker-compose up
Navigating to localhost:8000/mock
in the broswer should prompt you to sign in using the chosen identity provider. Upone successful login, you should be redirected to https://mockbin.org/
.