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 {
|
||||
URL tokenURL = new URL(
|
||||
"https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token");
|
||||
JWTToken token = OpenIdConnectRESTHelper.queryUMAToken(tokenURL, "robcomp",
|
||||
"0fec31cb-23c3-44e2-9359-d6db6784b7d3",
|
||||
"/gcube/devNext/NextNext", null);
|
||||
JWTToken token = OpenIdConnectRESTHelper.queryUMAToken(tokenURL, "storage-manager-trigger",
|
||||
"e2591a99-b694-4dbe-8f7b-9755a3db80af",
|
||||
"/gcube", null);
|
||||
System.out.println(token.getAccessTokenString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue