Spring Boot OAuth2 https重定向\u uri而不是http
我使用Spring Boot OAuth2和Spring Boot OAuth2 https重定向\u uri而不是http,spring,spring-boot,spring-oauth2,Spring,Spring Boot,Spring Oauth2,我使用Spring Boot OAuth2和@enableAuth2Client。我的应用程序在HTTPS上运行,但当我尝试登录到Odnoklassniki社交网络时,它会生成以下url: https://connect.ok.ru/oauth/authorize?client_id=XXXXXX&redirect_uri=http://example.com/api/login/ok&response_type=code&state=XXXXXX 有没有办法改变htt
@enableAuth2Client
。我的应用程序在HTTPS上运行,但当我尝试登录到Odnoklassniki社交网络时,它会生成以下url:
https://connect.ok.ru/oauth/authorize?client_id=XXXXXX&redirect_uri=http://example.com/api/login/ok&response_type=code&state=XXXXXX
有没有办法改变
http://example.com
至https://example.com
在此url中?在您的社交网络中注册您的应用程序。可能的答案如下: