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

self-detect serverconfiguration and account-typ #506

Open
Mannshoch opened this issue Apr 16, 2019 · 3 comments
Open

self-detect serverconfiguration and account-typ #506

Mannshoch opened this issue Apr 16, 2019 · 3 comments

Comments

@Mannshoch
Copy link

Mannshoch commented Apr 16, 2019

On first start of Andstatus do not ask for the account typ.
Only ask for "username@example.com" and Password.
Then detect the server and configuration yourself. Use example.com/.well-known and best practise for the services for configuration.

  1. Check which services could be reached.
  2. Try if login is possible on each service available (may more than one service is available)
  3. Automatic try several login types if needed/possible.
  4. If more than one account could be reached, show a summary and show if login was successfully, additional Information is needed or errors appeared. Let User choose an account.
  5. If some additional Information is needed ask now.
@yvolk
Copy link
Member

yvolk commented Apr 16, 2019

@Mannshoch Thanks for suggestion.
I agree that some degree of autodetection is needed, e.g. for Mastodon instances, which look like similarly configured?!
But this won't work in a general case, because e.g. some servers support more than one "social network type". E.g. AndStatus can connect to Pleroma sites as ActivityPub client (see #499 ) and as a Mastodon client.
Moreover, in a case of a problem it's much harder to diagnose the problem cause, if you tried many options and all but one (which one?) were expected to fail, maybe after timeout...

So, if you want to implement this yourself in #AndStatus, doing this for Mastodon would be very helpful!
Anybody?

@Mannshoch
Copy link
Author

If you could connect multible accounts that should not be a problem. If you face a lmitation while using the app on one account try it on another. Kind of fallback.

Maybe as a user experience.
I tryed around 10min to get my account work. Because the server on which I had an account no where told me what account type I had and which setting I need to do.

@yvolk
Copy link
Member

yvolk commented Apr 17, 2019

I understand you. And I'm thinking about making addition of a new account of a known type easier. E.g. without a need to explicitly add Mastodon or GNU Social instance before adding the new account in it.
Maybe after that step it will be easier to automate trying different types...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants