We should override CLIENT_ID and CLIENT_SECRET variables.
These variables are located in src/main/java/uz/sardorbroo/keycloak/authenticator/OneIdProviderConfig
.
./mvnw clean package
Copy the .jar(target/*.jar
) to keycloak-properties/custom-idp-properties
Run the keycloak.yml file. Or run the command.
docker compose -f keycloak.yml up
We can check all steps via browser. Follow the link http://localhost:9080/realms/oneid-realm/account/
Click the Sign in
button.
Click the oneid
button.