java.lang.NoClassDefFoundError: com/nimbusds/openid/connect/sdk/OIDCTokenResponse

Issue #230 invalid
Former user created an issue

I am getting this error while executing the following code:- service = Executors.newFixedThreadPool(1); String url = "https://login.microsoftonline.com/" + Authentication_Constants.TENANT + "/oauth2/authorize/"; //String url = "https://login.microsoftonline.com//common//"; //String url = "https://login.microsoftonline.com/" + Authentication_Constants.TENANT; authContext = new AuthenticationContext(url, true, service); ClientCredential clientCred = new ClientCredential(Authentication_Constants.CLIENTID, Authentication_Constants.SECRET); Future<AuthenticationResult> future = authContext.acquireToken(Authentication_Constants.RESOURCE, clientCred, null); authResult = future.get(); System.out.println(authResult.getAccessToken());

Comments (1)

  1. Log in to comment