12 lines
466 B
Elixir
12 lines
466 B
Elixir
<h2><%= @client.client_name %> wants to access your account</h2>
|
|
|
|
<%= 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 %>
|
|
<div class="form-group">
|
|
<%= submit "Grant access", class: "btn btn-primary" %>
|
|
<p>To reject the request, close this page.</p>
|
|
</div>
|
|
<% end %> |