feat: misskey oauth (fixes #26)
This commit is contained in:
parent
ef6aa3ee5f
commit
987ff47704
6 changed files with 516 additions and 10 deletions
|
@ -48,7 +48,9 @@ func (s *Server) noAppFediverseURL(ctx context.Context, w http.ResponseWriter, r
|
|||
}
|
||||
|
||||
switch softwareName {
|
||||
case "mastodon", "pleroma", "akkoma", "pixelfed", "calckey":
|
||||
case "misskey", "foundkey", "calckey":
|
||||
return s.noAppMisskeyURL(ctx, w, r, softwareName, instance)
|
||||
case "mastodon", "pleroma", "akkoma", "pixelfed":
|
||||
default:
|
||||
// sorry, misskey :( TODO: support misskey
|
||||
return server.APIError{Code: server.ErrUnsupportedInstance}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue