showdoc icon indicating copy to clipboard operation
showdoc copied to clipboard

OAuth2集成IAM,配置后一直在重复请求IAM跳转不过去,这个是什么原因啊

Open shaoyigang117 opened this issue 2 years ago • 5 comments

image

shaoyigang117 avatar May 05 '23 06:05 shaoyigang117

https://user-images.githubusercontent.com/37137207/236389352-948e8dbf-ed36-4a7f-a674-7c6b5960a9bc.mp4

shaoyigang117 avatar May 05 '23 06:05 shaoyigang117

啥情况,showdoc支持的oauth登录是 打开登录框,需要用户手动点击才会跳转。我不清楚你为什么会自动跳转。

star7th avatar May 05 '23 06:05 star7th

你构建的url是怎么样的,通过怎样的链接打开showdoc

star7th avatar May 05 '23 06:05 star7th

image 在IAM配置oauth回调地址和应用,通过在IAM点击应用跳转的,链接:http://192.168.100.53:4999/server/?s=/api/extLogin/oauth2

shaoyigang117 avatar May 05 '23 06:05 shaoyigang117

oauth登录是无法自动跳转的。你要实现自动跳转登录,应该使用通用登录接口,自己写代码实现

star7th avatar May 05 '23 07:05 star7th