- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11
keycloak configuration
        inferx-net edited this page Apr 27, 2025 
        ·
        3 revisions
      
    - Create Realm "Inferx"
- Create Client "infer_client" in Realm "Inferx"
- Enable Client authentication
- Add Valid redirect URI
http://[hostip]:1250/* http://[hostip]:81/* http://[hostip]:4000/*
- Add web origins
http://[hostip]:1250 http://[hostip]:81 http://[hostip]:4000
- Enable "Direct Access Grants Enabled"
- Update KEYCLOAK_CLIENT_SECRET in docker-compose_blob.yml
- Update the KEYCLOAK_URL with local address
- Add user and set password: For example username: testuser1, password: test
- Test Keycloak curl -X POST "http://[hostip]:1260/authn/realms/inferx/protocol/openid-connect/token" -H "Content-Type: application/x-www-form-urlencoded" -d "client_id=infer_client" -d "client_secret=M2Dse5531tdtyipZdGizLEeoOVgziQRX" -d "username=testuser1" -d "password=test" -d "grant_type=password"