Skip to content

Fix some atomicity issues in removeCodeGrant - #3358

Open
coheigea wants to merge 1 commit into
mainfrom
coheigea/removeCodeGrant
Open

Fix some atomicity issues in removeCodeGrant#3358
coheigea wants to merge 1 commit into
mainfrom
coheigea/removeCodeGrant

Conversation

@coheigea

@coheigea coheigea commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

}

@Override
protected ServerAuthorizationCodeGrant removeCodeGrant(String code, EntityManager em,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe the check + removal should happen in the same transaction scope (executeInTransaction), fe doRemoveClient / removeClientCodeGrants are good references

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants