<%= @application.uid %>
<% secret = flash[:application_secret].presence || @application.plaintext_secret %>
<% if secret.blank? && Doorkeeper.config.application_secret_hashed? %>
<%= t(".secret_hashed") %>
<% else %>
<%= secret %>
<% end %>
<% if @application.scopes.present? %>
<%= @application.scopes %>
<% else %>
<%= t(".not_defined") %>
<% end %>
<%= @application.confidential? %>
<%= uri %>
|
<%= link_to t("doorkeeper.applications.buttons.authorize"), oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: "code", scope: @application.scopes), class: "btn btn-success", target: "_blank" %> |
<%= link_to t("doorkeeper.applications.buttons.edit"), edit_oauth_application_path(@application), class: "btn btn-primary" %>
<%= render "delete_form", application: @application, submit_btn_css: "btn btn-danger" %>