Replies: 1 comment 2 replies
-
|
Unfortunately, you seemed to add a copy-and-paste error that makes an analysis pretty difficult, the point is that you masked both the auth and the refresh token with the same string. The issue is, that it seems, that you did not send the token properly, the error message indicates, that the token was not complete or somehow broken. Everything else looks fine on first glimpse. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I got edr report .
{
"@type": "DataAddress",
"flowType": "PULL",
"endpointType": "https://w3id.org/idsa/v4.1/HTTP",
"tx-auth:refreshEndpoint": "https://cofx-public-test-data-edc.dataspaceos.preprod.cofinity-x.com/api/public/token",
"transferTypeDestination": "HttpData",
"tx-auth:audience": "did:web:portal-backend.beta.cofinity-x.com:api:administration:staticdata:did:BPN**************",
"type": "https://w3id.org/idsa/v4.1/HTTP",
"endpoint": "https://cofx-public-test-data-edc.dataspaceos.preprod.cofinity-x.com/api/public",
"tx-auth:refreshToken": "eyJMASKEDhw",
"tx-auth:expiresIn": "300",
"authorization": "eyJMASKEDhw",
"tx-auth:refreshAudience": "did:web:portal-backend.beta.cofinity-x.com:api:administration:staticdata:did:BPN**************",
"@context": {
"tx": "https://w3id.org/tractusx/v0.0.1/ns/",
"tx-auth": "https://w3id.org/tractusx/auth/",
"cx-policy": "https://w3id.org/catenax/policy/",
"@vocab": "https://w3id.org/edc/v0.0.1/ns/",
"edc": "https://w3id.org/edc/v0.0.1/ns/",
"odrl": "http://www.w3.org/ns/odrl/2/"
}
}
And when try to access
curl --location 'https://cofx-public-test-data-edc.dataspaceos.preprod.cofinity-x.com/api/public'
--header 'Authorization: Bearer eyJMASKEDzhw'
got
{
"errors": [
"Failed to decode token"
]
}
Beta Was this translation helpful? Give feedback.
All reactions