Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add redirect support for social auth provider (#4063)
#### What type of PR is this? /area console /kind feature /milestone 2.7.x #### What this PR does / why we need it: 三方登录时支持传入 `login_redirect_uri` 参数,以让三方登录提供方支持适配登录后重定向到具体页面的功能。 #### Which issue(s) this PR fixes: Fixes #4029 #### Special notes for your reviewer: 测试方式: 1. 可以使用 halo-sigs/plugin-oauth2#33 进行测试。 2. 手动在登录页面构造如 https://127.0.0.1:8090/console/login?redirect_uri=/ 的地址,观察使用三方登录之后是否会跳转到指定页面。 #### Does this PR introduce a user-facing change? ```release-note Console 端三方登录支持重定向参数。 ```
- Loading branch information