api-gateway-labs
API Gateways research
Lab setup
Add to your /etc/hosts
:
127.0.0.1 keycloak
Keycloak
- Create realm
Application
- Create client
- Create client with id
krakend
andAccess type
:confidential
- Enable
Service Accounts Enabled
. This enables Oauth2 Client Credentials grant - On
Credentials
tab chooseClient Authenticator
:Client id and secret
- Create roles
time_reader
andweather_reader
- Create client with id
- Create user
- Create user with name
user_with_permissions
with passworduser_with_permissions
- Add roles
time_reader
andweather_reader
to it.
- Create user with name