Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] 使用OIDC服务提供商无法登录到Yearning #1107

Closed
1 task done
potatoone opened this issue Sep 29, 2024 · 5 comments
Closed
1 task done

[Question] 使用OIDC服务提供商无法登录到Yearning #1107

potatoone opened this issue Sep 29, 2024 · 5 comments

Comments

@potatoone
Copy link

potatoone commented Sep 29, 2024

描述问题
我使用了两个开源SSO授权服务,Authentik和Casdoor,两者均有实现标准OIDC登录协议,但是配置之后都无法跳转到个人用户界面
,仍然停留在登录页

toml配置文件如下
image

应用程序oidc返回状态,1200应该是正常吧
image

一直停留在此处
image

部署方式

  • Docker Compose

环境 (请填写环境信息):

  • 操作系统:Debian 12
  • 浏览器:Edge
  • 版本号:129.0.2792.52

应用程序日志信息
[Info] 2024-09-29 11:36:45 "url":"/lang" "method":"GET" "status":200 "protocol":"HTTP/1.1" "remote_ip":"x.x.x.x" "bytes_in": "0 bytes" "bytes_out": "42 bytes"
[Info] 2024-09-29 11:36:45 "url":"/oidc/state" "method":"GET" "status":200 "protocol":"HTTP/1.1" "remote_ip":"x.x.x.x" "bytes_in": "0 bytes" "bytes_out": "252 bytes"
[Info] 2024-09-29 11:36:45 "url":"/fetch" "method":"GET" "status":200 "protocol":"HTTP/1.1" "remote_ip":"x.x.x.x" "bytes_in": "0 bytes" "bytes_out": "48 bytes"

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] Unable to log in to Yearning using OIDC service provider

@dellnoantechnp
Copy link

image
keycloak 测试没问题,能跑通。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image
There is no problem with the keycloak test and it can run through.

@potatoone
Copy link
Author

@dellnoantechnp
搞好了。Casdoor也可以用了,重定向url必须是这个/oidc/_token-login

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@dellnoantechnp
Done. Casdoor can also be used, the redirect url must be this /oidc/_token-login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants