matrixbridge/synapse-auth-module
2022-07-22 13:08:05 +02:00
..
deploy.sh continue 2022-01-14 01:18:47 +01:00
ppfun_auth.py ensure that user is in default-rooms on login 2022-07-22 13:08:05 +02:00
README.md ensure that user is in default-rooms on login 2022-07-22 13:08:05 +02:00

ppfun-auth-module for matrix-synapse

Allows pixelplanet users to login with their credentials on matrix.

Installation

Put ppfun_auth.py into the python PATH of synapse, sometimes it is /usr/local/lib/python3.8/site-packages/ppfun_auth.py or in Debian / Ubuntu distribution in /opt/venvs/matrix-synapse/....

Configuration (homeserver.yml):

modules:
  - module: ppun_auth.PPfunAuthProvider
    config:
      apisocketkey: "APISOCKETKEY_CONFIGURED_IN_PIXELPLANET"
      ppfunurl: "http://local.pixelplanet.url:port"
      # if true, only mail-verified users can log in
      verified: true
      # rooms that will be automatically joined on login 
      autojoin_rooms: ['#pp_en:pixelplanet.fun', '#pp_int:pixelplanet.fun']

References