Krombel facdad126b fix language reference
it was the case that the language string for Exceptions was not
resolved successfully in some cases.
Now we switch to passing the internal string via Exceptions which
then will be used to translate to the correct language when needed
2018-03-19 14:40:20 +01:00
2018-03-19 13:57:15 +01:00
2018-03-19 13:57:15 +01:00
2018-03-19 14:40:20 +01:00
2018-03-19 13:57:15 +01:00
2018-03-19 13:57:15 +01:00
2018-03-19 13:57:15 +01:00
2018-03-19 14:40:20 +01:00
2018-03-19 13:57:15 +01:00
2018-02-10 17:12:27 +01:00
2018-03-19 13:57:15 +01:00
2018-03-19 13:57:15 +01:00

matrix-register-bot

This bot provides a two-step-registration for matrix.

This is done in several steps:

  • potential new user registers on a bot-provided side
  • bot sends a message to predefined room with a registration notification.
  • users in that room now can approve or decline the registration.
  • When approved
    • the bot creates credentials
    • sends them to the user
    • stores them encrypted in own database
    • provides that credentials to matrix-synapse-rest-auth which has to be configured to query login.php

2nd step: Implement the other apis to integrade mxisd

How to install

  • Copy config.sample.php to config.php and configure the bot as you can find there
  • Configure your webserver to publish the folder public and configure. The folder internal contains files that can be accessed by mxisd or matrix-synapse-rest-auth
  • To integrate with matrix-synapse-rest-auth:
    • /_matrix-internal/identity/v1/check_credentials should map to internal/login.php
  • To integrate with mxisd: Have a look at the docs and apply as follows:
    Key file which handles that Description
    rest.endpoints.auth internal/login.php Validate credentials and get user profile
    rest.endpoints.directory internal/directory_search.php Search for users by arbitrary input
    rest.endpoints.identity.single internal/identity_single.php Endpoint to query a single 3PID
    rest.endpoints.identity.bulk internal/identity_bulk.php Endpoint to query a list of 3PID
Description
This bot provides a two-step-registration for matrix
https://github.com/krombel/matrix-register-bot Readme 694 KiB
Languages
PHP 100%