Skip to content

[Bug] OIDC Cannot read properties of null (reading 'auth_url') #1273

@l3126596029

Description

@l3126596029

What happened?

配置好 OIDC 后访问统一认证页,切换至 OIDC 登录提示 未知错误: Cannot read properties of null (reading 'auth_url')

How we reproduce?

  1. 使用 Casdoor 创建客户端,回调地址: https://xxx/.safeline/auth/api/callback/oidc
  2. 重定向origin 设置: https://xxx 并获取到了client ID 和密钥
  3. 雷池 OIDC 处填写Url: https://xxx 级 Client ID 密钥,能正常保存
  4. 尝试登录遇到上述问题
  5. 请求: https://xxx/.well-known/openid-configuration 是可以正确获取到内容的, 且其他应用(如 Halo 使用 Casdoor OIDC 是可以正常使用的)

Expected behavior

正常使用 OIDC 登录

Error log

未知错误: Cannot read properties of null (reading 'auth_url')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions