#{csrf_tag(rodauth.authorize_path) if respond_to?(:csrf_tag)} #{ if rodauth.oauth_application[rodauth.oauth_applications_logo_uri_column] <<-HTML HTML end }

#{ application_uri = rodauth.oauth_application[rodauth.oauth_applications_homepage_url_column] application_name = application_uri ? (<<-LINK) : rodauth.oauth_application[rodauth.oauth_applications_name_column] #{h(rodauth.oauth_application[rodauth.oauth_applications_name_column])} LINK rodauth.authorize_page_lead(name: application_name) }

#{ if rodauth.oauth_application[rodauth.oauth_applications_tos_uri_column] <<-HTML #{rodauth.oauth_applications_tos_uri_label} HTML end } #{ if rodauth.oauth_application[rodauth.oauth_applications_policy_uri_column] <<-HTML #{rodauth.oauth_applications_policy_uri_label} HTML end }
#{ if rodauth.oauth_application[rodauth.oauth_applications_contacts_column] data = <<-HTML

#{rodauth.oauth_applications_contacts_label}

HTML rodauth.oauth_application[rodauth.oauth_applications_contacts_column].split(/ +/).each do |contact| data << <<-HTML
#{h(contact)}
HTML end data << "
" end }

#{rodauth.oauth_grants_scopes_label}

#{ rodauth.authorize_scopes.map do |scope| if rodauth.features.include?(:oidc) && scope == "offline_access" "" else <<-HTML
HTML end end.join } #{"" if rodauth.param_or_nil("access_type")} #{"" if rodauth.param_or_nil("response_type")} #{"" if rodauth.param_or_nil("response_mode")} #{"" if rodauth.param_or_nil("state")} #{"" if rodauth.param_or_nil("redirect_uri")} #{"" if rodauth.features.include?(:oauth_pkce) && rodauth.param_or_nil("code_challenge")} #{"" if rodauth.features.include?(:oauth_pkce) && rodauth.param_or_nil("code_challenge_method")} #{"" if rodauth.features.include?(:oidc) && rodauth.param_or_nil("prompt")} #{"" if rodauth.features.include?(:oidc) && rodauth.param_or_nil("nonce")} #{"" if rodauth.features.include?(:oidc) && rodauth.param_or_nil("ui_locales")} #{"" if rodauth.features.include?(:oidc) && rodauth.param_or_nil("claims_locales")} #{"" if rodauth.features.include?(:oidc) && rodauth.param_or_nil("claims")} #{"" if rodauth.features.include?(:oidc) && rodauth.param_or_nil("acr_values")} #{ if rodauth.features.include?(:oauth_resource_indicators) && rodauth.resource_indicators rodauth.resource_indicators.map do |resource| "" end.join end }

#{rodauth.oauth_cancel_button}