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

[Backport release/3.3.x] fix(oauth2): prevent an authorization code created by one plugin instance to be exchanged for an access token by a different plugin instance #10804

Merged
merged 1 commit into from
May 8, 2023

Conversation

team-gateway-bot
Copy link
Collaborator

Backport 8c4e5c6 from #10011.

…ance to be exchanged for an access token by a different plugin instance (#10011)

* fix(oauth2): prevent an authorization code created by one plugin instance to be exchanged for an access token by a different plugin instance

* verify only if plugin_id is present to avoid existing codes being fails

* add test case

* change plugin_id field type from text to uuid

* make plugin_id to be foreign key

* fix merge issue

* fix cassandra script

(cherry picked from commit 8c4e5c6)
@bungle bungle merged commit f4213f6 into release/3.3.x May 8, 2023
@bungle bungle deleted the backport-10011-to-release/3.3.x branch May 8, 2023 14:51
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.

4 participants