Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
[akkoma] / lib / pleroma / web / templates / o_auth / o_auth / consumer.html.eex
1 <h2>External OAuth Authorization</h2>
2 <%= form_for @conn, o_auth_path(@conn, :request, :twitter), [method: "get"], fn f -> %>
3 <div class="scopes-input">
4 <%= label f, :scope, "Permissions" %>
5 <div class="scopes">
6 <%= text_input f, :scope, value: Enum.join(@available_scopes, " ") %>
7 </div>
8 </div>
9
10 <%= hidden_input f, :client_id, value: @client_id %>
11 <%= hidden_input f, :redirect_uri, value: @redirect_uri %>
12 <%= hidden_input f, :state, value: @state%>
13 <%= submit "Sign in with Twitter" %>
14 <% end %>