Support Webfinger for OAuth2

When looking at a Mastodon account like we cannot assume that is also the instance for API calls. Here's what we should do instead:

As said earlier, each Mastodon user has an acct: URI, which is used for discovery and authentication. When you add, a webfinger query is performed. This is done in two steps:
1. Querying (where the domain of the URL matches the domain part of the acct: URI) to get information on how to perform the query. This file will indeed contain a URL template of the form{uri} that will be used in the second step.
2. Fill the returned template with the acct: URI to be queried and perform the query:
Mastodon documentation

Tags: Open

Close issue


This wiki uses a variant of Markdown.

To save this page you must answer this question:

Tell me any number between 1 and 10