package org.gcube.oidc.rest; import java.net.URL; public class RestHelperTest { public RestHelperTest() { } public static void main(String[] args) throws Exception { URL tokenURL = new URL("https://nubis2.int.d4science.net/auth/realms/d4science/protocol/openid-connect/token"); System.out.println(OpenIdConnectRESTHelper.queryClientToken( "lr62_portal", "28726d01-9f24-4ef4-a057-3d208d96aaa0", tokenURL)); } }