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

First authentication isn't taken into account, need to kill, restart, and authorize again #34

Open
opatry opened this issue Oct 1, 2024 · 2 comments
Labels
android app 🤖 Related to the Android application bug 🪳 Something isn't working desktop app 🖥️ Related to the Desktop application

Comments

@opatry
Copy link
Owner

opatry commented Oct 1, 2024

Describe the bug
In fresh install setup, skipping the onboarding, then authorizing the app won't raise any error but the user profile picture & user tasks won't show up.
After a kill & restart and authorizing again, it works.

To Reproduce
Steps to reproduce the behavior:

  1. fresh install
  2. skip onboarding (mandatory? does it reproduces with authorize from onboarding?)
  3. create task list & task (linked to the scenario issue?)
  4. authorize & consent scopes
  5. here, user won't be signed-in

Expected behavior
Once consent is provided, the user profile picture should show up and the remote tasks (if any) displayed.

Tip

It appears to be an Android only issue

@opatry opatry added bug 🪳 Something isn't working android app 🤖 Related to the Android application desktop app 🖥️ Related to the Desktop application labels Oct 1, 2024
@opatry
Copy link
Owner Author

opatry commented Oct 1, 2024

Reproduced on desktop.

Seems to work fine from onboarding (at least, tested on desktop version)

@opatry
Copy link
Owner Author

opatry commented Oct 1, 2024

Might be a timing issue, sometimes it works.
Maybe the moment between the credentials storage and the user fetch doesn't allow ktor to properly setup authentication?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android app 🤖 Related to the Android application bug 🪳 Something isn't working desktop app 🖥️ Related to the Desktop application
Projects
None yet
Development

No branches or pull requests

1 participant