-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi there,
somehow the creation of the ApiClient fails, when I am using clientId and clientSecret.
If I understand the code correctly, the SDK fails to gather the token URL. It tries to call GET https://ai-awscqa.avlr.sh/.well-known/openid-configuration and fails.
When I use a valid Bearertoken for the ApiClient creation everything works fine.
The Error message:
Exception when calling OpenIdConnect to fetch the token endpoint
java.net.ConnectException
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at Avalara.SDK.OpenIdHelper.fetchOpenIdConnectObject(OpenIdHelper.java:38)
at Avalara.SDK.OpenIdHelper.populateConfigWithOpenIdDetails(OpenIdHelper.java:18)
at Avalara.SDK.ApiClient.(http://apiclient.java:107/)
Best regards,
Heiko