GithubHelp home page GithubHelp logo

Comments (5)

olmari avatar olmari commented on June 10, 2024

well... "shared secret" IS what the admin api token is... an secret that is shared between the automaton and admin user... So it is not wrong either...

from matrix-registration.

squarepupil avatar squarepupil commented on June 10, 2024

I should also mention that the error code if you enter the wrong credential is also misleading: {"errcode":"MR_BAD_SECRET","error":"wrong shared secret"}

This again suggests that it is SharedSecret that we're looking for and not AdminAPIPass

from matrix-registration.

squarepupil avatar squarepupil commented on June 10, 2024

well... "shared secret" IS what the admin api token is... an secret that is shared between the automaton and admin user... So it is not wrong either...

image

You're suggesting that when I'm asked for "shared secret" I should know to input "admin secret" instead of "shared secret", the one with the same exact name?

from matrix-registration.

lantrix avatar lantrix commented on June 10, 2024

As far as I can tell shared_secret here shows a value of RegistrationSharedSecret which seems to me would be:

I'm trying to set this up too.

from matrix-registration.

zeratax avatar zeratax commented on June 10, 2024

ehm sorry for not being active in so long, real life stuff happened. anywas
@lantrix yeah you're correct it does correspond to these value. idk if it works with dendrite though, i am using a specific synapse api that is not part of the matrix spec.

@squarepupil Before I left I was working on a 1.0.0 release and wanted to rename a lot of variables to make more sense, so I am totally open to renaming these config values.
would registration_shared_secret and admin_api_secret make more sense?

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.