Skip to content

Question about payload parameter in methods for add client-scope to clients #657

@lspaulucio

Description

@lspaulucio

Hi,

I'm using the keycloak_admin methods below:

  • add_client_default_client_scope
  • add_client_optional_client_scope

Everything is working fine, but I don't understand the need for a payload parameter to the method. When I use these methods, I'm passing an empty dict as payload parameter.

Image

In the Keycloak REST API docs, these methods only expect the client-uuid and clientScopeId as path parameters, and they do not need a payload.

Image

Is this for backward compatibility reasons?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions