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.

Ability to check if a username is available as an admin #10577

Closed
@Half-Shot

Description

@Half-Shot

As part of a project I'm working on, I'd like to see if a given localpart is available in synapse without having enable registration. The details are a bit complex but:

  • We don't want to enable registration because we're using SSO (and don't want users to simply stroll up and register an account directly).
  • We have appservices on the host, which means we cannot simply use the SSO provider as a means to check if a localpart is avaliable. Synapse is the best place to be checking if a username is available because it's aware of these.

Essentially, I'd like for admins to still be able to call https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-r0-register-available regardless of the config setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions