feat: sign up/log in with mastodon
This commit is contained in:
parent
f087e9a29f
commit
cf424d3ae4
8 changed files with 509 additions and 8 deletions
|
@ -58,7 +58,7 @@ func (s *Server) noAppFediverseURL(ctx context.Context, w http.ResponseWriter, r
|
|||
|
||||
formData := url.Values{
|
||||
"client_name": {"pronouns.cc (+" + s.BaseURL + ")"},
|
||||
"redirect_uris": {s.BaseURL + "/auth/login/mastodon"},
|
||||
"redirect_uris": {s.BaseURL + "/auth/login/mastodon/" + instance},
|
||||
"scopes": {"read:accounts"},
|
||||
"website": {s.BaseURL},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue