Internally renamed variable `token` to `tokens` since the JSON helds more tah one token
This commit is contained in:
parent
3c201dd6f0
commit
bee9d59f22
|
@ -22,9 +22,9 @@ public class RestHelperTest {
|
||||||
throws MalformedURLException, OpenIdConnectRESTHelperException, InterruptedException {
|
throws MalformedURLException, OpenIdConnectRESTHelperException, InterruptedException {
|
||||||
URL tokenURL = new URL(
|
URL tokenURL = new URL(
|
||||||
"https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token");
|
"https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token");
|
||||||
JWTToken token = OpenIdConnectRESTHelper.queryUMAToken(tokenURL, "robcomp",
|
JWTToken token = OpenIdConnectRESTHelper.queryUMAToken(tokenURL, "storage-manager-trigger",
|
||||||
"0fec31cb-23c3-44e2-9359-d6db6784b7d3",
|
"e2591a99-b694-4dbe-8f7b-9755a3db80af",
|
||||||
"/gcube/devNext/NextNext", null);
|
"/gcube", null);
|
||||||
System.out.println(token.getAccessTokenString());
|
System.out.println(token.getAccessTokenString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue