Keycloak is a feature-rich Open Supply id supplier:
Add authentication to purposes and safe providers with minimal effort. No must take care of storing customers or authenticating customers.
Keycloak gives consumer federation, robust authentication, consumer administration, fine-grained authorization, and extra
Keycloak gives the realm abstraction, a namespace to group logically-related objects. We’ll first create an
apisix Realm to our configuration from different configurations. The official documentation explains the best way to do it in nice element. We are able to proceed additional with creating objects beneath the
The subsequent step is to create an OpenID shopper for Apache APISIX to name Keycloak within the
apisix realm. Listed here are the info:
- Basic settings:
- Shopper kind: OpenID Join
- Shopper ID: apisix
- Functionality config:
- Shopper authentication: ON
Go to the Credential tab and notice the shopper’s secret worth.
The ultimate step is to create customers. A consumer is an individual who can log in to the system to entry the app. Let’s create two customers,
jane, and set their passwords. The demo repository already has Keycloak pre-configured – each customers’ password is