I'm using google-oauth-java-client library to authenticate against a NetIQ Identity provider. The authorization request reaches the IdP, however it doesn't accept the Callback over HTTP:
<amLogEntry> 2016-08-11T19:02:26Z WARNING NIDS Session Logger:
com.novell.nam.nidp.oauth.core.helpers.OAuth2AuthorizationRequest:
http://localhost/callback - redirection url must be https
</amLogEntry>
Is there a way to set up a Callback url using https? Here is the java code that is requesting the authorization grant:
LocalServerReceiver receiver = new LocalServerReceiver.Builder()
.setHost(OAuth2ClientCredentials.DOMAIN)
.setPort(OAuth2ClientCredentials.PORT).build();
return new AuthorizationCodeInstalledApp(flow, receiver).authorize("user");