-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
udpate access token url on app service #20292
Conversation
...lt/azure-security-keyvault-jca/src/main/java/com/azure/security/keyvault/jca/AuthClient.java
Outdated
Show resolved
Hide resolved
sdk/spring/azure-spring-boot-starter-keyvault-certificates/README.md
Outdated
Show resolved
Hide resolved
sdk/spring/azure-spring-boot-starter-keyvault-certificates/README.md
Outdated
Show resolved
Hide resolved
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.
nice
if (identity != null) { | ||
url.append("&clientid=").append(identity); | ||
if (clientId != null) { | ||
url.append("&clientid=").append(clientId); |
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.
what if move "LOGGER.log(INFO, "Using managed identity with client ID: {0}", clientId);" here
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.
Hi, what is your concern of it? I think it's helpful to inform users about the flow of acquiring tokens and also debug.
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.
IMU, @backwind1233 's concern is that if (clientId != null)
appeared more than one time.
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.
@chenrujun yes
@yiliuTo
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.
/check-enforcer override |
Replace parameter from
objectid
toclientid
of the access token url on App service.