GithubHelp home page GithubHelp logo

Comments (4)

zeratax avatar zeratax commented on June 2, 2024

sadly this isn't exactly trivial, since the admin register api endpoint doesn't take an email address. the only way around this to me seems to be to completely rewrite this to something akin to an ldap provider.

currently I would just recommend users to add their email address after they've signed up

from matrix-registration.

Bubu avatar Bubu commented on June 2, 2024

This seems to take an email though? https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/user_admin_api.rst#create-or-modify-account

I just very briefly looked this up, so I might be looking at the wrong thing. As I'm quite interested in something like this as well, I'd be wiling to spend some more time researching this.

from matrix-registration.

zeratax avatar zeratax commented on June 2, 2024

Oh yeah this does look promising. I was just looking at the inital register endpoint. I guess this wouldn't check if this 3pid is actually yours, by in this case sending a verification email? Depending on how much of an issue that is I would probably have to send those myself, though a good opportunity to consider #19 again

from matrix-registration.

xelantro avatar xelantro commented on June 2, 2024

E-mails are normally managed through the identity server (of their own choice), which also provides an email verification api interface relevant matrix api.
But since Synapse 1.4 (~2019) synapse safes their own 3pids for password reset see here since babus link is dead, but this would need an admin access-token.

Alternativly the client-server api seems to provide an interface which comes hand since we get an accesstoken from the user as response from the registering https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-register-email-requesttoken

from matrix-registration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.