Skip to content

Oauth-Logto使用遇到问题 #368

@l3126596029

Description

@l3126596029

使用Oauth2-Logto遇到问题
点击单点登录跳转https://xxx/oidc/auth?access_type=online&client_id=xxx&redirect_uri=https%3A%2F%2Fxxx%2Foidc&response_type=code&scope=profile+email+phone+name+openid&state=HPySMzPQeEIfsXkH 报错{"code":"oidc.invalid_redirect_uri","message":"无效返回链接, 该 redirect_uri 未被此应用注册。","error":"invalid_redirect_uri","error_description":"redirect_uri did not match any of the client's registered redirect_uris","state":"HPySMzPQeEIfsXkH","iss":"https://xxx/oidc"}

Synctv配置clientID密钥正常填写,endpoint用的https://xxx,重定向链接https://xxx/oidc

单点登录平台填写的回调地址:https://synctv.xxx/web/oauth2/callback/logto,https://synctv.xxx/callback,https://synctv.xxx/web/oauth2/callback/oauth2_logto,https://synctv.xxx/web/oauth2/callback/*均不行

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions