0

google-oauth-java-client ライブラリを使用して、NetIQ ID プロバイダーに対して認証を行っています。認証リクエストは IdP に到達しますが、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>

https を使用してコールバック URL を設定する方法はありますか? 認可付与をリクエストしているJavaコードは次のとおりです。

LocalServerReceiver receiver = new LocalServerReceiver.Builder()
   .setHost(OAuth2ClientCredentials.DOMAIN)
   .setPort(OAuth2ClientCredentials.PORT).build();
return new AuthorizationCodeInstalledApp(flow, receiver).authorize("user");
4

1 に答える 1