Skip to content

[stable31] Wrap oauth2 token rotation in a transaction#59877

Merged
Altahrim merged 4 commits intostable31from
backport/59767/stable31
Apr 24, 2026
Merged

[stable31] Wrap oauth2 token rotation in a transaction#59877
Altahrim merged 4 commits intostable31from
backport/59767/stable31

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Apr 23, 2026

Backport of #59767

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Copy link
Copy Markdown
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test class changes were not fully applied

@julien-nc julien-nc force-pushed the backport/59767/stable31 branch from 3ac3940 to 9598cdb Compare April 23, 2026 12:56
@julien-nc julien-nc marked this pull request as ready for review April 23, 2026 12:58
…token hasn't been modified since we have read it

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…as successful

fix(oauth): rotate the auth token only if the access token rotation was successful

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>

[skip ci]
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the backport/59767/stable31 branch from 9598cdb to adb6910 Compare April 23, 2026 15:27
@Altahrim Altahrim merged commit f98eecc into stable31 Apr 24, 2026
228 of 257 checks passed
@Altahrim Altahrim deleted the backport/59767/stable31 branch April 24, 2026 09:29
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