cost 358 ms
spring 社交 google:人 API 403 由于遗留人而被禁止 API - spring social google: people API 403 Forbidden due to Legacy People API

我有项目,我必须通过谷歌登录登录。我已经创建了谷歌项目。 设置客户端/密钥。 我到了向我的 web 应用程序服务器发出 post 请求并向那里发送 accessToken 的地步: 请求是:GET https://www.googleapis.com/plus/v1/people/me接受:app ...

Spring Security 5 Google OAuth2错误-需要重定向才能获得用户批准(UserRedirectRequiredException) - Spring Security 5 Google OAuth2 Error - A redirect is required to get the users approval (UserRedirectRequiredException)

我正在尝试使用Google的oauth服务器实现Spring安全性。 申请非常简单。 Pom.xml application.property具有oauth配置: 然后实施基本的网络安全性: index.html文件非常基础: 主要应用类别: 启动 ...

使用从JavaScript客户端收到的令牌在服务器上创建社交连接 - Use token received from JavaScript client to create a social connection on the server

我有一个使用PHP / JavaScript的网页,可以成功在客户端执行Google登录过程。 然后,我想将获得的令牌转发到后端,该后端使用Spring-Social创建社交连接,并能够调用该应用程序已被授权的API。 通过Facebook(OAUTH2)和Twitter(OAUTH1)都可 ...

通过Spring Social传递额外的查询/表单参数 - Passing extra query/form parameters through spring social

我正在使用JHipster生成的Spring Social和Spring Security构建单页应用程序。 我正在尝试通过某种社交身份验证提供程序对用户进行身份验证后捕获原始查询参数。 例: 调用/ signin / someprovider?show = someEntit ...

春季社交登录:如何添加同一社交提供商(例如Facebook)的多个应用程序? - Spring Social Login: How to add more than one app of the same social provider (f.e. Facebook)?

我的Spring MVC Web应用程序同时为具有三个不同域的三个不同的网上商店提供服务(我们将它们称为domain1.com,domain2.com和domain3.com)。 对于这些商店,我需要提供自己的社交登录名(带有自定义登录屏幕标题,自定义数据隐私声明等)。 因此,我需要创建 ...

Oauth2成功登录后,用作登录提供程序的Spring Social Google失败并显示403 - Spring Social Google used as Sign in Provider fails with 403 after successful Oauth2 login

我需要在提供商中同时使用Facebook和Google作为OpenId Sing。 我已经使用SocialAuthenticationFilter将它们与Spring Security集成在一起,如文档中所述,并查看了示例应用程序。 我已经成功配置了Facebook。 问题是当我尝 ...

如何使用Spring Social Google下载文件? - How do you download a file with spring social google?

我正在尝试将spring社交Google库与driveOperations()实现一起使用。 每当我尝试下载文件时,都会出现错误。 我什至尝试下载公开共享的文件都没有成功。 身份验证正常。 我尝试了以下变体: 我将驱动器添加到示波器中,所以我知道这不是问题。 最初对应用程序 ...

spring-social-google身份验证不会重定向到注册表单页面 - spring-social-google authentication does not redirect to register form page

我想将Google Plus风格添加到本教程中包含的代码中,但是登录时从Log4J收到以下警告消息。 WARN-RestTemplate-对“ https://www.googleapis.com/plus/v1/people/me ”的GET请求导致403(禁止); 调用错误处理程 ...

如何通过providerId,accessToken和secret获取providerUserId? (春季社交) - How to get providerUserId by providerId, accessToken and secret? (Spring Social)

在我的应用程序中,我可以通过providerId和providerUserId识别用户。 但是最初,我只有以下信息: providerId, accessToken, 秘密。 因此, 我需要通过此信息获取providerUserId 。 我正在尝试使用以 ...

引起:java.lang.NoSuchMethodError: org.springframework.web.bind.annotation.RequestMapping.path()[Ljava/lang/String; - Caused by: java.lang.NoSuchMethodError: org.springframework.web.bind.annotation.RequestMapping.path()[Ljava/lang/String;

org.springframework.beans.factory.BeanCreationException:创建名为“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0”的 ...

Spring Social Google - 将一次性授权代码转换为服务器上的访问令牌/刷新令牌 - Spring Social Google - converting a one-time authorization code into an access token/ refresh token on the server

服务器从移动应用程序接收一次性授权代码 。 我需要将其转换为spring-social访问令牌并刷新令牌并将其保存在服务器数据库中以供以后使用。 我目前的代码: oneTimeAuthorizationCode是错误的,因为ConnectionData期望访问令牌而不是一次授权代 ...

哪些正确的Google+作用域变量可以获取电子邮件地址并发布? - Which are the correct Google+ scope variables to get email address and to post?

我正在使用spring-social-google(从git repo构建)来允许人们登录到我的Spring MVC应用程序(我已经在使用facebook,twitter和linedin)。 以下表格允许我进行身份验证,但不会返回电子邮件地址,并且禁止发布到Google+时间轴: 我认 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM