The user will have to consent on all the scopes provided during the application registration step. The user has 2 options:

Accept all scopes: in this case, Legrand authentication will resume and redirection to the reply URL will be made
Deny: if the user denies, he will not be connected, so he will have to log in again and consent on the scopes to access the application. Moreover, he will be redirected to the redirect_uri with two parameters in query string :

  • error: access_denied
  • error_description: Access denied by user