Keycloak auth

From bidewio/better-openclaw · View interactive version

Keycloak auth is an AI agent skill from the GitHub repository bidewio/better-openclaw. Enterprise identity and access management with Keycloak

How to use this skill

Skill file

Keycloak – Enterprise Identity Management

Keycloak provides SSO, identity brokering, user federation,

and fine-grained authorization for applications and services.

Environment Variables

| Variable | Description |

|---|---|

| {{KEYCLOAK_URL}} | Base URL of the Keycloak server |

| {{KEYCLOAK_ADMIN}} | Admin username |

| {{KEYCLOAK_ADMIN_PASSWORD}} | Admin password |

Usage Examples

Get admin token

curl -s -X POST "{{KEYCLOAK_URL}}/realms/master/protocol/openid-connect/token" \
  -d "client_id=admin-cli" \
  -d "username={{KEYCLOAK_ADMIN}}" \
  -d "password={{KEYCLOAK_ADMIN_PASSWORD}}" \
  -d "grant_type=password"

List users in a realm

curl -s "{{KEYCLOAK_URL}}/admin/realms/myrealm/users" \
  -H "Authorization: Bearer <access_token>"

AI Agent Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.