Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

OIDC authenticator does use the user id sent by the provider if it contains uppercases #9315

@tmortagne

Description

@tmortagne

Synapse version: 1.26.0
Client: https://app.element.io

When the OIDC provider return "ThomasMortagne" as subject I'm asked to provide the user id after the auth ("Please pick your username:"). When I try to enter "ThomasMortagne" in this form I get "Invalid username. Only the following characters are allowed: lowercase letters, digits, ., _, -, /, =" so I guess that's why it did not use it. But then I would have expected it to try to clean up the subject automatically for simple case like upper vs lower case. At the very least It should explain why it's asking for the id.

This sounds like quite a constraint, but I don't see any reference to it in the documentation, so it's possible I'm completely wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-OtherQuestions, user support, anything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions