-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
refactor(google-cloud-logging): unify google-cloud-oauth.lua file #11596
Conversation
@shreemaan-abhishek Sorry, I forgot to update the document before. Please reiview it again when you have time.Thanks. |
4f1c2f5
@bzp2010 @moonming @shreemaan-abhishek I have made some new changes: I added a scopes field without a default value to maintain compatibility with existing apisix users. When the user originally configured the scopes, the scopes will be assigned to the scope, ensuring compatibility. If the user did not configure the scopes, they will use the default value of scope or the scope value configured by the user. Please reiview it again when you have time.Thanks. |
9c772e7
All fixed🫡 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Issue: unify
google-cloud-logging/oauth.lua
andutils/google-cloud-oauth.lua
file · Issue #11576 · apache/apisix (github.com)What I do :
● scopes -> scope : according to OAuth2/OIDC rules, scope should not be used in the plural
● using utils/google-cloud-oauth.lua replace google-cloud-logging/oauth.lua
Checklist