GithubHelp home page GithubHelp logo

Integration with Django about ma1sd HOT 3 OPEN

ma1uta avatar ma1uta commented on July 30, 2024
Integration with Django

from ma1sd.

Comments (3)

the-moog avatar the-moog commented on July 30, 2024

I can answer my own question. YES
...BUT I can't get it to work. It searches (directory API) but if I allow MA1SD to capture the profile and/or identity APIs it breaks everything.

from ma1sd.

the-moog avatar the-moog commented on July 30, 2024

I still need assistance.
If the user is authenticated via EXEC and their Django user id, they can login but their email 3PID is still missing from their profile.
I don't understand how this is supposed to work?
Is it 1 or 2?
1: Matrix supposed to delegate profile lookups to MA1SD via a proxy config
2: MA1SD supposed to update the profile 3PID, etc on the matrix server during login?
As previously stated I tried sending _matrix/client/r0/profile to MA1SD and that really screws things up.
It appears the client uses _matrix/client/r0/account/3pid to access this information, should I be capturing that instead?

from ma1sd.

the-moog avatar the-moog commented on July 30, 2024

For reasons beyond me this is ALMOST working.
Latest Synapse/Element and ma1sd v2.4.0
The user ID and automatic account creation now works.
Though it breaks if the user already exists with the same email.

Only one fault. it does not update either the display name or email for the user
I've made Django update Synapse database with the displayname but it does not display. Am I updating the wrong table or is it cached some place?

from ma1sd.

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.