]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/oauth-plugin/generators/oauth_provider/templates/authorize.html.erb
Adding initial version of the OAuth token authentication method. This adds basic...
[rails.git] / vendor / plugins / oauth-plugin / generators / oauth_provider / templates / authorize.html.erb
1 <h1>Authorize access to your account</h1>
2 <p>Would you like to authorize <%%= link_to @token.client_application.name,@token.client_application.url %> (<%%= link_to @token.client_application.url,@token.client_application.url %>) to access your account?</p>
3 <%% form_tag authorize_url do %>
4   <%%= hidden_field_tag "oauth_token", @token.token %>
5   <%%- if params[:oauth_callback] -%>
6   <%%= hidden_field_tag "oauth_callback", params[:oauth_callback] %>
7 <%%- end -%>
8 <p>
9         <%%= check_box_tag 'authorize' %> authorize access
10 </p>
11 <p>
12         <%%= submit_tag %>
13 </p>
14 <%% end %>