问题标签 [spring-social-google]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
18 浏览

spring-social - Spring OAuth2 将原始请求保存在会话中并重定向到原始 URL

这是安全配置

在前端,URL 是http://localhost:8080/oauth2/authorize/google?redirect_uri=http://localhost:8080/some-url

但是,在用户获得授权并成功登录后,用户不会被重定向到http://localhost:8080/some-url

可能是什么原因以及如何解决?