The authRule_consents screen (Hosted Login v1)

Looking for the Hosted Login v2 version of this screen? Then click here.

The authRule_consents screen appears if:

  1. An authorization rule has been implemented that requires a user to agree to the required consents before he or she can log on.
  2. The user has not yet agreed to the consents. Out of the box the Identity Cloud supports a single marketing consent.

Consents are managed by using the schema attribute. If the authorization.rules.consents authorization rule has been enabled:

  1. A user signs in and is authenticated.
  2. Before the user is issued an access token, the Identity Cloud checks the user profile to see if the marketing.consents.granted attribute has been set to true:
    • If the answer is “yes,” the user is issued an access token and is fully logged on.
    • If the answer is “no,” the authRule_consents screen is displayed. The user must click Continue and agree to the consent before he or she is issued an access token.

Incidentally, authorization rules are processed in the following order:

  1. authorization.rules.required_attributes 
  2. authorization.rules.min_age 
  3. authorization.rules.legal_acceptances
  4. authorization.rules.consents
  5. authorization.rules.email_is_verified

Authorization Rules Screen Flow

The following graphic shows how the authRule_consents screen fits into the Authorization Rule flow.

Consent Required Authorization Rule Screen: Technical Documentation