element-hq / element-hq/element-android

Can't log in... or out... of Element on Android

Open
#9,025 3 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

Hello. I was using Element on my Android phone with no problem. However I changed to a custom OS (CalyxOS) and when I installed Element and tried to sign in I was unable to. I see a screen with "Welcome back!" and "Where your conversations live - matrix.org" Noext to that is an Edit button, and below is "Forgot Password". But nowhere is there an input line for my username or password. Only a Continue button. When I press it, I see a "Allow access to your account?" screen, and another Continue button. BUT, below the Continue button I see "Not shardwell (my user name)? Sign out". In other words it is as if I am already signed in. But if I press the Continue button, nothing happens. If I press it again after waiting a while, I get an **"Unexpected error - compat_sso_login_expired - This login session expired."**

I have tried signing out of all sessions via the Desktop Element, and uninstalling Element on the Android phone - including all data. But if I re-install Element and start over again, the same things I described above happen again. I have also tried Element X and the same thing happens. It's as if I were already signed in, but I can't get to any of my conversations or rooms. And if I sign out where it says "Not shardwell? Sign out" I go back to the previous screen, and if I press Continue I get the same error again. I've been through this process several times now. Meanwhile I can still connect with no problem via the Desktop Element.

### Outcome

#### What did you expect? To see my conversations and rooms on Element for Android

#### What happened instead? I keep seeing what looks like a sign-in screen, but there's no place for me to enter my username and password. It's as if I'm already logged in. But I can't get to the conversations and rooms. And I can't log out either.

### Your phone model

Google Pixel 4a

### Operating system version

CalyxOS v. 5.17.1

### Application version and app store

Element version 1.6.34 im.vector.app

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.