We have concept of “Assigned Default Client Scopes” and “Assigned Optional Client Scopes” in Keycloak. This allows a client to automatically get the scope when hitting the token endpoint, vs explicitly requesting the scope.
In a Dynamic Client Registration request, is it possible to control whether whether the scope is automatically applied vs whether a client has to request that scope?
{
"client_name": "sample",
"token_endpoint_auth_method": "private_key_jwt",
"token_endpoint_auth_signing_alg": "HS256",
"jwks_uri": "URI of the JSON web key set",
"redirect_uris": ["http://localhost"],
"response_types": ["none"],
"grant_types": ["client_credentials"],
"subject_type": "public",
"scope": "default optional"
}