nextcloud / nextcloud/talk-android

"State token does not match" during login process

Open
#6,485 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop
Dominant language
Kotlin
Stars
739
Forks
321
Avg merge
14h 59m
Merged PRs (30d)
151

Description

This bug happens for me since some days/maybe weeks.
Feels like it occurs every second time i login.
At least it's the behavior on sermo (still need to check other servers)

  1. try to login at android talk app

  2. be redirected to the browser

  3. enter correct server url and credentials

  4. Get error: "State token does not match"

  5. click on "back"

  6. being logged in inside Nc web

  7. go back to android talk

  8. click cancel login

  9. enter url again

  10. click grant. Account connected

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android Talk login flow using the listed browser redirect, server URL, credentials, and grant/cancel steps. Trace where the "State token does not match" error is handled between Android Talk and the browser; done means the account connects without the error during repeated logins.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.