You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is. StsClientConfigurationExtension.java expects a clientId / clientSecretAlias but doesn't resolve the secret from Vault.
Use STS Remote Client in EDC and make a query catalog request.
Oauth Request to STS fails with 401 due to invalid client id / secret.
Expected behavior
A clear and concise description of what you expected to happen.
It should resolve secrets from vault. Similar configuration exists in eclipse-edc/Connector repo which resolves the secret from Vault.
var clientSecret = vault.resolveSecret(clientSecretAlias);
Objects.requireNonNull(clientSecret, format("Client secret could not be retrieved from the vault with alias %s", clientSecretAlias));
return new StsRemoteClientConfiguration(tokenUrl, clientId, clientSecret);
Screenshots/Error Messages
If applicable, add screenshots and/or error messages to help explain your problem.
Context Information
Add any other context or information about the problem here.
Used version: [e.g. Commit Hash]
OS: [e.g. Mac OS (M1), Windows, Linux]
Docker Version: [e.g. 20.10.12]
java --version:
Possible Implementation
You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
StsClientConfigurationExtension.java expects a clientId / clientSecretAlias but doesn't resolve the secret from Vault.
tractusx-edc/edc-extensions/dcp/tx-dcp-sts-dim/src/main/java/org/eclipse/tractusx/edc/iam/dcp/sts/StsClientConfigurationExtension.java
Lines 62 to 74 in b618350
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
It should resolve secrets from vault. Similar configuration exists in eclipse-edc/Connector repo which resolves the secret from Vault.
StsRemoteClientConfigurationExtension.java#L61-L64
Screenshots/Error Messages
If applicable, add screenshots and/or error messages to help explain your problem.
Context Information
Add any other context or information about the problem here.
java --version
:Possible Implementation
You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts.
The text was updated successfully, but these errors were encountered: