- add indy.local and keycloak.local as aliases for 127.0.0.1 in /etc/hosts
- Install Keycloak
docker run -ti --net=host -p 8080:8080 -p 9090:9090 --name=keycloak jboss/keycloak
- Setup Keycloak server
- change admin password
- add realm
indy
- add realm client
indy
- access type:
confidential
- access type:
- add realm client
indy-ui
- access type:
public
- add web origin:
http://indy.local:8081
- add valid redirect uri:
http://indy.local:8081/index.html
- access type:
- create some users or enable some identity providers
- configure keycloak.conf
- url=http://keycloak.local:8080/auth/
- enabled=true
- realm.public.key=[Public Key field from Keycloak realm > Keys]
- server.credential.secret=[Secret field from Keycloak realm > Clients > indy > Credentials]
- Enjoy your secured Indy instance!
- This has only been tested in the 'savant' Indy flavor. For now, YMMV when using min and easyprox flavors.
- Java client API is not yet compatible with Keycloak security. Work is in progress on this feature.