Sha256: 440d5608b8337a2605885f54dbc2524a6ae3495be23c8c1f37997d961bebbac9

Contents?: true

Size: 682 Bytes

Versions: 5

Compression:

Stored size: 682 Bytes

Contents

<h1>Authorize access to your account</h1>
<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>
<%% form_tag authorize_url do %>
  <%%= hidden_field_tag "response_type", params[:response_type]%>
  <%%= hidden_field_tag "client_id", params[:client_id]%>
  <%%= hidden_field_tag "redirect_url", params[:redirect_url]%>
  <%%= hidden_field_tag "state", params[:state]%>
  <%%= hidden_field_tag "scope", params[:scope]%>
  
<p>
  <%%= check_box_tag 'authorize' %> authorize access
</p>
<p>
  <%%= submit_tag %>
</p>
<%% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
le1t0-oauth-plugin-0.4.0.pre4.001 generators/oauth_provider/templates/oauth2_authorize.html.erb
oauth-plugin-0.4.0.pre4 generators/oauth_provider/templates/oauth2_authorize.html.erb
oauth-plugin-0.4.0.pre3 generators/oauth_provider/templates/oauth2_authorize.html.erb
oauth-plugin-0.4.0.pre2 generators/oauth_provider/templates/oauth2_authorize.html.erb
oauth-plugin-0.4.0.pre1 generators/oauth_provider/templates/oauth2_authorize.html.erb