After OAuth1 was removed, all scopes are OAuth2 scopes. Former OAuth2-only scopes now can be combined with the rest.
7 lines
277 B
Text
7 lines
277 B
Text
<%= f.text_field :name %>
|
|
<%= f.text_area :redirect_uri %>
|
|
<%= f.form_group :confidential do %>
|
|
<%= f.check_box :confidential %>
|
|
<% end %>
|
|
<%= f.collection_check_boxes :scopes, Oauth.scopes(:privileged => current_user.administrator?), :name, :description %>
|
|
<%= f.primary %>
|