Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use token-based registration #24

Closed
strugee opened this issue Nov 3, 2022 · 1 comment
Closed

Use token-based registration #24

strugee opened this issue Nov 3, 2022 · 1 comment

Comments

@AndrewKvalheim
Copy link
Member

I don’t see how this is supposed to work. m.login.registration_token requires a session but there is no session prior to registration, and m.login.registration_token can only be used on /register.

AndrewKvalheim added a commit that referenced this issue Oct 19, 2024
Token creation:

    http post 'https://matrix.example.com/_synapse/admin/v1/registration_tokens/new' \
      Authorization:"Bearer $MATRIX_ACCESS_TOKEN" \
      expiry_time:="$(date --date '2024-11-10T00:00:00-08:00' +'%s000')" \
      token='example'

Resolves #24
AndrewKvalheim added a commit to SeaGL/matrix-docker-ansible-deploy that referenced this issue Nov 1, 2024
AndrewKvalheim added a commit to SeaGL/matrix-docker-ansible-deploy that referenced this issue Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants