Skip to content

Commit 978cb09

Browse files
committed
fix token type
1 parent 2c3c4cb commit 978cb09

File tree

1 file changed

+1
-1
lines changed
  • it/src/test/java/org/fiware/dataspace/it/components

1 file changed

+1
-1
lines changed

it/src/test/java/org/fiware/dataspace/it/components/Wallet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private String requestOffer(String token, String credentialEndpoint, SupportedCo
226226
public String getAccessToken(String tokenEndpoint, String preAuthorizedCode) throws Exception {
227227
RequestBody requestBody = new FormEncodingBuilder()
228228
.add("grant_type", PRE_AUTHORIZED_GRANT_TYPE)
229-
.add("code", preAuthorizedCode)
229+
.add("pre-authorized_code", preAuthorizedCode)
230230
.build();
231231
Request tokenRequest = new Request.Builder()
232232
.url(tokenEndpoint)

0 commit comments

Comments
 (0)