frenzy/lib/frenzy_web/templates/fervor/oauth/authorize.html.eex

13 lines
448 B
Elixir
Raw Normal View History

2019-04-01 16:24:22 +00:00
<h2><%= @client.client_name %> wants to access your account</h2>
2019-03-28 21:11:25 +00:00
<%= form_tag Routes.oauth_path(@conn, :authorize_post), method: :post do %>
<input type="hidden" name="client_id" value="<%= @client.client_id %>">
<%= if @state do %>
<input type="hidden" name="state" value="<%= @state %>">
<% end %>
2022-09-14 02:25:11 +00:00
<div>
2019-04-01 16:24:22 +00:00
<%= submit "Grant access", class: "btn btn-primary" %>
<p>To reject the request, close this page.</p>
2019-03-28 21:11:25 +00:00
</div>
2022-09-14 02:25:11 +00:00
<% end %>