<% content_for :heading do %>

<%= @application.name %>

<% end %> <% secret = flash[:application_secret].presence || @application.plaintext_secret %> <% unless secret.blank? && Doorkeeper.config.application_secret_hashed? -%> <% end -%>
<%= t ".client_id" %> <%= @application.uid %>
<%= t ".client_secret" %> <%= secret %> <% if Doorkeeper.config.application_secret_hashed? -%>
<%= t ".client_secret_warning" %> <% end -%>
<%= t ".permissions" %>
    <% @application.scopes.each do |scope| -%>
  • <%= t "oauth.scopes.#{scope}" %>
  • <% end -%>
<%= t ".redirect_uris" %>
    <% @application.redirect_uri.split.each do |uri| -%>
  • <%= uri %>
  • <% end -%>