A fork of the Cocoon PDS but being made more distributed.
0

Configure Feed

Select the types of activity you want to include in your feed.

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 }}">Sign out this account</a> 19 </p> 20 {{ if gt (len .Accounts) 1 }} 21 <form action="/account/switch" method="post"> 22 <input type="hidden" name="query_params" value="{{ .QueryParams }}" /> 23 <input type="hidden" name="next" value="/oauth/authorize" /> 24 <label for="did">Switch to another signed-in account</label> 25 <select name="did" id="did"> 26 {{ range .Accounts }} 27 <option value="{{ .Repo.Did }}" {{ if eq .Repo.Did $.ActiveDid }}selected{{ end }}> 28 {{ .Handle }} 29 </option> 30 {{ end }} 31 </select> 32 <button type="submit">Switch account</button> 33 </form> 34 {{ end }} 35 <p> 36 Need a different account? <a href="/account/signin?{{ .QueryParams }}">Sign in another account</a>. 37 </p> 38 <p><b>{{ .AppName }}</b> is asking for you to grant it these scopes:</p> 39 <ul> 40 {{ range .Scopes }} 41 <li><b>{{.}}</b></li> 42 {{ end }} 43 </ul> 44 <p> 45 If you press Accept, the application will be granted permissions for 46 these scopes with your account <b>{{ .Handle }}</b>. If you reject, you 47 will be sent back to the application. 48 </p> 49 <form action="/oauth/authorize" method="post"> 50 <div class="button-row"> 51 <input type="hidden" name="request_uri" value="{{ .RequestUri }}" /> 52 <button class="secondary" name="accept_or_reject" value="reject"> 53 Reject 54 </button> 55 <button class="primary" name="accept_or_reject" value="accept"> 56 Accept 57 </button> 58 </div> 59 </form> 60 </main> 61 </body> 62</html>