DAPS URL authentication Issue from EDC #1112
Replies: 5 comments 8 replies
-
Hi, Public Backend Config Docu: |
Beta Was this translation helpful? Give feedback.
-
HI, yes configured like the way mentioned. but when we request URL as above mentioned getting ERROR. in my config i am using DAPS URL like, EDC_OAUTH_TOKEN_URL: 'https://xxxxxx/realms/master/protocol/openid-connect/token' can you please share your thought is this wrong or right ? |
Beta Was this translation helpful? Give feedback.
-
HI @tmberthold I am trying to hit catalog api request like i am getting error logs like , Caused by: org.eclipse.edc.spi.EdcException: Unable to obtain credentials: Server response to [POST, https://daps-demo.com/realms/master/protocol/openid-connect/token] was not 200 but was 401: {"error":"invalid_client","error_description":"Invalid client or Invalid client credentials"} can you please guide help me here. |
Beta Was this translation helpful? Give feedback.
-
I have followed approach u have guided, But still I am getting error while hitting catalog api request. ERROR I am getting in EDC logs, Caused by: org.eclipse.edc.spi.EdcException: Unable to obtain credentials: Server response to [POST, https://demo-edc.demo.com/realms/master/protocol/openid-connect/token] was not 200 but was 400: {"error":"invalid_client","error_description":"Unable to load public key"} Please suggest. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hey @tmberthold Thanks for suggestions. I have added key. I am getting error in my daps side when I am hitting catalog api request, {{CONSUMER_EDC_MANAGEMENT_URL}}/wrapper/ui/pages/catalog-page/data-offers?connectorEndpoint={{REQUESTING_DSP_ENDPOINT}} ERROR is 2025-02-14 05:25:51 JerseyExtension: Unexpected exception caught Please suggest in this. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hey ALl,
when I am trying to request to my EDC like
https://demo.com/v2/catalog/request
I am getting error like as below
2025-02-11 10:40:28 HTTP client exception caught for request Request{method=POST, url=https://dev-daps.demo.com/realms/master/protocol/openid-connect/token, headers=[Accept:application/json, Content-Type:application/x-www-form-urlencoded]}
org.eclipse.edc.spi.http.EdcHttpClientException: Server response to [POST, https://dev-daps.demo.com/realms/master/protocol/openid-connect/token] was not 200 but was 401: {"error":"invalid_client","error_description":"Invalid client or Invalid client credentials"}
What are steps we can consider to resolve this scenario?
Beta Was this translation helpful? Give feedback.
All reactions