Federated social network node, running on kosmos.social https://kosmos.social
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
948 B

- content_for :page_title do
= @application.name
.panel-heading General
%dt Name
%dd= @application.name
%dt Scopes:
%dd= @application.scopes
.panel-heading Details
%dt Client ID:
%samp= @application.uid
%dt Secret:
%samp= @application.secret
.panel-heading Callback URLs
- @application.redirect_uri.split.each do |uri|
%samp= uri
%dd= link_to 'Authorize', oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'code')
= link_to fa_icon('edit'), edit_oauth_application_path(@application), class: 'btn btn-iconized'
= link_to fa_icon('trash'), oauth_application_path(@application), method: :delete, class: 'btn btn-iconized', data: { confirm: 'Are you sure?' }