Skip to content

[FIX] Re-login not working properly when credentials expire - #4654

Merged
jesmrec merged 3 commits into
masterfrom
fix/re-login_not_working_properly
Jul 31, 2025
Merged

jesmrec merged 3 commits into
masterfrom
fix/re-login_not_working_properly

Conversation

@joragua

@joragua joragua commented Jul 28, 2025 •

Copy link
Copy Markdown
Member

Related Issues

App: https://github.com/owncloud/enterprise/issues/7277

When credentials expire, the snackbar for re-login appears multiple times. This is happens because, on the first attempt, the /konnect/v1/token endpoint is not called, a result of how Android handles activity stacks. Specifically, onNewIntent is not triggered when using startActivityForResult together with launchMode: asyncTask (as defined in the manifest) To fix it, the startActivityForResult method has been replaced with startActivity.

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

QA

@joragua joragua self-assigned this Jul 28, 2025
@joragua
joragua force-pushed the fix/re-login_not_working_properly branch from 2a2ca7e to 3ab7f78 Compare July 28, 2025 11:34
@joragua joragua added this to the 4.6 - Current milestone Jul 28, 2025
@joragua
joragua requested a review from jesmrec July 28, 2025 12:01
@joragua
joragua marked this pull request as ready for review July 28, 2025 12:01
@jesmrec
jesmrec self-requested a review July 28, 2025 12:24
@jesmrec

jesmrec commented Jul 28, 2025

Copy link
Copy Markdown
Member

CR Approved. Let's move to QA

@jesmrec

jesmrec commented Jul 28, 2025 •

Copy link
Copy Markdown
Member

QA checks:

  • Credentials revoked in OAuth2
  • Credentials revoked in OIDC
  • Credentials revoked while one upload is running
  • Credentials revoked while some uploads are running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants