Synapse's Database itself can be used as an Identity store. This identity store is a regular SQL store with built-in default queries that matches Synapse DB.
Name | Supported |
---|---|
Authentication | No |
Directory | Yes |
Identity | Yes |
Profile | Yes |
- Authentication is done by Synapse itself.
- Roles are mapped to communities. The Role name/ID uses the community ID in the form
+id:domain.tld
synapseSql:
enabled: <boolean>
Enable/disable the identity store
synapseSql:
type: <string>
Set the SQL backend to use which is configured in synapse:
sqlite
postgresql
synapseSql:
connection: <string>
Set the value to the absolute path to the Synapse SQLite DB file.
Example: /path/to/synapse/sqliteFile.db
synapseSql:
connection: //<HOST[:PORT]/DB?user=USER&password=PASS
Set the connection info for the database by replacing the following values:
HOST
: Hostname of the SQL serverPORT
: Optional port value, if not defaultDB
: Database nameUSER
: Username for the connectionPASS
: Password for the connection
See the SQL Identity store