Skip to content

matrix-js-sdk sends openid scope when performing authorization code grant #5305

@gingershaped

Description

@gingershaped

While working on implementing support for OAuth login in Continuwuity, I found that the matrix-js-sdk includes the openid scope when performing the authorization code grant, which is not one of the allocated scopes listed in the Matrix specification. I believe that this behavior is caused by the oidc-client-ts library injecting the scope, since the SDK itself does not request it, but I don't know where in the library the scope is added. Since this scope is only relevant for OIDC, not OAuth, I would expect the SDK not to provide it when signing in.

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