element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Unable to login to homeserver

Open eauchat opened this issue 5 years ago • 5 comments

Describe the bug I can't finalize the login process and stay stuck at the I trust this address page, after successfully logging in with SSO. Clicking on it just does nothing.

To Reproduce Steps to reproduce the behavior:

  1. Open element and choose to login using: "Other / Custom & advanced settings"
  2. Write the address of your homeserver https://domain.tld
  3. Click on "Continue with SSO"
  4. Log in in your SSO as you would usually
  5. Now you're redirected to a page saying "The application at element://element is requesting full access to your domain.tld Matrix account. If you don't recognise this address, you should ignore this and close this tab. I trust this address"
  6. Click on I trust this address
  7. Nothing happens

Expected behavior I would expect the I trust this address page to close and to be logged in element.

Smartphone:

  • Device: Redmi Note 5A
  • OS: Android 7.1.2

Additional context

  • App version and store: 1.0.6 - F-Droid
  • Homeserver: eauchat.org

Additional remark With the same homeserver, I managed to login from an element-web instance.

eauchat avatar Sep 23 '20 21:09 eauchat

Any chance that you provide the homeserver URL? SSO is working on Element Android on some servers (ex: mozilla.modular.im).

bmarty avatar Sep 25 '20 15:09 bmarty

The homeserver is eauchat ((dot)) org. Finally, I managed to connect using the matrix id procedure. But it's still strange that going through the SSO didn't work.

eauchat avatar Sep 26 '20 18:09 eauchat

Thanks for the hs url (sorry I haven't seen that you provided it in the original description) Can I have a test account on this server? (feel free to DM me at @benoit.marty:matrix.org)

bmarty avatar Sep 28 '20 14:09 bmarty

Don't know, it's not so easy to simply make a matrix account. I'll think of it. But it's a standard install of synapse on yunohost using the synapse_ynh package. So you can see all configuration on that repo. The sso is yunohost sso. Hopefully you can have all the configs info you need in there.

eauchat avatar Sep 30 '20 12:09 eauchat

Hi, On client Element Android Version 1.4.36 (40104360) (from F-Droid) I can't access to my matrix-synapse self-hosted server from the public ip address: It show me this "trust" page too with some fingerprint, but like you nothing happens when if I choose to trust or not so I'm unable to connect. This happens from the outside public address.

From the local network I don't have this "trust" display. I don't have this behavior from a Element iOS client.

esp13 avatar Sep 28 '22 14:09 esp13