Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_policies is return none #608

Open
KingDracula opened this issue Oct 20, 2024 · 0 comments
Open

get_policies is return none #608

KingDracula opened this issue Oct 20, 2024 · 0 comments

Comments

@KingDracula
Copy link

keycloak_openid = KeycloakOpenID(
    server_url=os.environ.get("KEYCLOAK_URL"),
    client_id=os.environ.get("KEYCLOAK_CLIENT_ID"),
    realm_name=os.environ.get("KEYCLOAK_REALM"),
    client_secret_key=os.environ.get("KEYCLOAK_CLIENT_SECRET"),
)
keycloak_openid.get_policies()

i want to get current client policy from keycloak ,but when i call this function was return null

How to get current client policy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant