Skip to content

Conversation

@vcolin7
Copy link
Member

@vcolin7 vcolin7 commented May 15, 2024

No description provided.

…rom via the system property `azure.login.uri`.
@vcolin7 vcolin7 added KeyVault Client This issue points to a problem in the data-plane of the library. azure-spring-jca labels May 15, 2024
@vcolin7 vcolin7 self-assigned this May 15, 2024
@vcolin7 vcolin7 changed the title Added support for providing a custom login URI to get access tokens from via the system property azure.login.uri. Added support for providing a custom login URI to get access tokens from via the system property azure.login.uri May 15, 2024
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-security-keyvault-jca

Copy link
Member

@saragluna saragluna left a comment

Choose a reason for hiding this comment

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

LGTM

@vcolin7 vcolin7 marked this pull request as ready for review May 15, 2024 18:28
@vcolin7
Copy link
Member Author

vcolin7 commented May 15, 2024

Overriding Check Enforcer because it's failing due to an unrelated issue with package azure-cosmos-spark_3-5_2-12:

Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.8.1:compile (default) on project azure-cosmos-spark_3-5_2-12: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.8.1:compile failed. CompileFailed -> [Help 1]

Which is being addressed in this PR.

@vcolin7
Copy link
Member Author

vcolin7 commented May 15, 2024

/check-enforcer override

@vcolin7
Copy link
Member Author

vcolin7 commented May 15, 2024

/check-enforcer override

@vcolin7 vcolin7 merged commit 5c225f6 into main May 15, 2024
@vcolin7 vcolin7 deleted the feature/keyvault/custom-login-uri-jca branch May 15, 2024 23:49
vcolin7 added a commit to vcolin7/azure-sdk-for-java that referenced this pull request Jun 8, 2024
…tokens from via the system property `azure.login.uri` (Azure#40172)"

This reverts commit 5c225f6
vcolin7 added a commit that referenced this pull request Jul 3, 2024
* Revert "Added support for providing a custom login URI to get access tokens from via the system property `azure.login.uri` (#40172)"

This reverts commit 5c225f6

* Migrated auth mechanism to resemble what other KV libraries do and added a way to disable challenge resource verification.

* Fixed build issue.

* Updated `KeyVaultClient` to use the correct URI.

* Added logging statements to `AccessTokenUtil.getLoginUri()`.

* Changed request used to get a login URI.

* Fixed URI used to get access token with client id and secret.

* Applied PR feedback.

* Fixed issue building login URI.

* Added more tests.

* Fixed some more tests.

* Applied more PR feedback.

* Updated documentation on public classes.

* Updated CHANGELOG.

* Applied PR feedback.

* Applied more PR feedback.

* Updated CHANGELOG.

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

Labels

azure-spring-jca Client This issue points to a problem in the data-plane of the library. KeyVault

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants