<#import "template.ftl" as layout> <@layout.registrationLayout bodyClass="oauth"; section> <#if section = "title"> ${msg("oauthGrantTitle")} <#elseif section = "header"> ${msg("oauthGrantTitleHtml",(realm.displayNameHtml!''))?no_esc} <#if client.name??>${advancedMsg(client.name)}<#else>${client.clientId}. <#elseif section = "form">

### ${msg("oauthGrantRequest")}

<#if oauth.claimsRequested??>
- ${msg("personalInfo")} <#list oauth.claimsRequested as claim> ${advancedMsg(claim)}<#if claim_has_next>,
<#if oauth.accessRequestMessage??>
- ${oauth.accessRequestMessage}
<#if oauth.realmRolesRequested??> <#list oauth.realmRolesRequested as role>
- <#if role.description??>${advancedMsg(role.description)}<#else>${advancedMsg(role.name)}
<#if oauth.resourceRolesRequested??> <#list oauth.resourceRolesRequested?keys as resource> <#list oauth.resourceRolesRequested[resource] as clientRole>
- <#if clientRole.roleDescription??>${advancedMsg(clientRole.roleDescription)}<#else>${advancedMsg(clientRole.roleName)} ${msg("inResource")} <#if clientRole.clientName??>${advancedMsg(clientRole.clientName)}<#else>${clientRole.clientId}