OAuth typically requires pre-registration of potential clients before connections can be made. This obviously doesn't work for our server-to-server authorization scenario. The spec MUST include guidance on this.
There are several ways we could accomplish this, with CIMD (recommended by @ThisIsMissEm) seeming like the simplest option. For reference, Mastodon uses RFC 7591 to register clients dynamically (EDITED: Mastodon DOES NOT use RFC 7591), and FEP-d8c2 provides a way to do this by embedding information in the server-wide Application actor.
I'll recommend saying requiring CIMD, while mentioning that RFC 7591 exists, and might be used by clients/servers in other situations. If there's consensus on this, I'm happy to write the PR.
OAuth typically requires pre-registration of potential clients before connections can be made. This obviously doesn't work for our server-to-server authorization scenario. The spec MUST include guidance on this.
There are several ways we could accomplish this, with CIMD (recommended by @ThisIsMissEm) seeming like the simplest option. For reference, Mastodon uses RFC 7591 to register clients dynamically (EDITED: Mastodon DOES NOT use RFC 7591), and FEP-d8c2 provides a way to do this by embedding information in the server-wide
Applicationactor.I'll recommend saying requiring CIMD, while mentioning that RFC 7591 exists, and might be used by clients/servers in other situations. If there's consensus on this, I'm happy to write the PR.