-
-
Notifications
You must be signed in to change notification settings - Fork 248
Description
Hey,
#222 already touched on this but was closed. I don’t think that the issue is actually resolved.
This code path controls the per-client require-consent setting:
if not authorize.client.require_consent and (
authorize.is_client_allowed_to_skip_consent()
and "consent" not in authorize.params["prompt"]
):
return redirect(authorize.create_response_uri())So if my client doesn’t require consent it’s still going to enter authorize.is_client_allowed_to_skip_consent, which will only return True if the client is either confidential or is using one of id_token or id_token token as response types. So a public client using the code response type will always trigger consent even if require_consent is disabled for the client.
I could provide a pull request but I’m not sure why is_client_allowed_to_skip_consent would only allow skipping consent for the id_token and id_token token response types. Is there any reasoning behind this?
Thank you for your time and effort!
Cheers
Konrad