Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple callback_uris when registering the app #14

Open
kkostov opened this issue Dec 19, 2022 · 2 comments
Open

Support multiple callback_uris when registering the app #14

kkostov opened this issue Dec 19, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@kkostov
Copy link
Contributor

kkostov commented Dec 19, 2022

https://docs.joinmastodon.org/spec/oauth/#gotchas

@davidgarywood
Copy link
Contributor

Wondering out loud, but, is this resolved now, as of the PixelFed PR?

@kkostov
Copy link
Contributor Author

kkostov commented Dec 22, 2022

This is unrelated to PixelFed.

It is the endpoint used by apps to register and obtain a client id and secret.

When an app is registered, it should be able to provide multiple callback URLs with which to later authenticate. Fo example, consider a client shared between iOS and Web, or macOS and iOS, or iOS and Android… Ideally, the app will register only once and allow the user to authenticate with a callback URI specific to each platform.

There is more info in the description for the callback_uri field here.

In the current situation, we only accept 1 callback URL. The desired situation is that an app can specify multiple, so it can reuse its client registration when appropriate.

@kkostov kkostov added the enhancement New feature or request label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants