Skip to content

[master] invalidate existing tokens when deleting an oauth client - #36033

Merged
come-nc merged 7 commits into
masterfrom
invalidateTokensWhenDeletingOAuthClientMaster
Mar 15, 2023
Merged

[master] invalidate existing tokens when deleting an oauth client#36033
come-nc merged 7 commits into
masterfrom
invalidateTokensWhenDeletingOAuthClientMaster

Conversation

@individual-it

Copy link
Copy Markdown
Contributor

forward port of #35094 to master

@individual-itindividual-it self-assigned this Jan 6, 2023
@szaimenszaimen added this to the Nextcloud 24.0.10 milestone Jan 6, 2023
@szaimenszaimen added the 3. to review Waiting for reviews label Jan 6, 2023
@szaimenszaimen changed the title invalidate existing tokens when deleting an oauth client[master] invalidate existing tokens when deleting an oauth clientJan 6, 2023
Comment threadapps/oauth2/tests/Controller/SettingsControllerTest.php Outdated
@nickvergessen

Copy link
Copy Markdown
Member

The new interface should be referenced in #34692

@individual-it

Copy link
Copy Markdown
ContributorAuthor

The new interface should be referenced in #34692

@nickvergessen I've just updated #34692

@blizzz

Copy link
Copy Markdown
Member

conflicts

@individual-it
individual-itforce-pushed the invalidateTokensWhenDeletingOAuthClientMaster branch from b952807 to 4366decCompareFebruary 8, 2023 11:03
@individual-it

Copy link
Copy Markdown
ContributorAuthor

@blizzz conflicts solved

@skjnldsvskjnldsv mentioned this pull request Feb 23, 2023
@blizzzblizzz mentioned this pull request Mar 7, 2023
@blizzzblizzz modified the milestones: Nextcloud 26, Nextcloud 27Mar 9, 2023
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
@come-nc
come-ncforce-pushed the invalidateTokensWhenDeletingOAuthClientMaster branch from 4366dec to e97540bCompareMarch 14, 2023 16:19
@nickvergessen
nickvergessen removed their request for review March 14, 2023 16:20

@come-nccome-nc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I rebased on master and cleaned up the composer diff to make the diff readable.

@nickvergessen It’s not clear what to do with the OCP part, because it was merged in stable24 and not the other branches, what do we put in the @since? Should I leave 24.0.8 or should I put 26.0.1 or something?

@nickvergessen

Copy link
Copy Markdown
Member

Should I leave 24.0.8 or should I put 26.0.1 or something?

Multiple since are supported, so we could have 24.0.x (.8 if it gets merged and backported in time), 25.0.y and 26.0.z or just either of them. Since apps can not require maintenance versions at the moment, they have to do defensive programming anyway, so not too much of an issue.

@come-nc
come-nc merged commit 8568c11 into masterMar 15, 2023
@come-nc
come-nc deleted the invalidateTokensWhenDeletingOAuthClientMaster branch March 15, 2023 10:09
@come-nc

Copy link
Copy Markdown
Contributor

/backport to stable25

@come-nc

Copy link
Copy Markdown
Contributor

/backport to stable26

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@individual-it@nickvergessen@blizzz@come-nc@julien-nc@joshtrichards@szaimen