An atproto PDS written in Go
at main 1.5 kB view raw
1<!doctype html> 2<html lang="en"> 3 <head> 4 <meta charset="utf-8" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1" /> 6 <meta name="color-scheme" content="light dark" /> 7 <link rel="stylesheet" href="/static/pico.css" /> 8 <link rel="stylesheet" href="/static/style.css" /> 9 <title>Application Authorization</title> 10 </head> 11 <body class="centered-body"> 12 <main 13 class="container base-container box-shadow-container authorizer-container" 14 > 15 <h2>Authorizing with {{ .AppName }}</h2> 16 <p> 17 You are signed in as <b>{{ .Handle }}</b>. 18 <a href="/account/signout?{{ .QueryParams }}">Switch Account</a> 19 </p> 20 <p><b>{{ .AppName }}</b> is asking for you to grant it these scopes:</p> 21 <ul> 22 {{ range .Scopes }} 23 <li><b>{{.}}</b></li> 24 {{ end }} 25 </ul> 26 <p> 27 If you press Accept, the application will be granted permissions for 28 these scopes with your account <b>{{ .Handle }}</b>. If you reject, you 29 will be sent back to the application. 30 </p> 31 <form action="/oauth/authorize" method="post"> 32 <div class="button-row"> 33 <input type="hidden" name="request_uri" value="{{ .RequestUri }}" /> 34 <button class="secondary" name="accept_or_reject" value="reject"> 35 Reject 36 </button> 37 <button class="primary" name="accept_or_reject" value="accept"> 38 Accept 39 </button> 40 </div> 41 </form> 42 </main> 43 </body> 44</html>