2.0.0 • Published 7 months ago

@mindbaz/zonemta-auth-keycloak v2.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
7 months ago

zonemta-auth-keycloak

Authentication with Keycloak for ZoneMTA. Install this to performs SMTP authentication with Keycloak

Setup

Add this as a dependency for your ZoneMTA app

npm install @mindbaz/zonemta-auth-keycloak --save

Configure

The module uses wild-config, so there are two toml configuration files to manage

Plugin conf

Add a configuration entry in the "plugins" section of your ZoneMTA app

Example here.

First enable plugin :

# auth-keycloak.toml
["modules/@mindbaz/zonemta-auth-keycloak"]
enabled="receiver"
interfaces=["feeder"]

Then set keycloak configuration for this plugin :

keycloak_url="http://example.org:8080"
auth_force_realm = false
auth_force_realms = true # Optional : to force a realm on current zmta instance

Wild-config

ZoneMTA uses the following file for wild-config : /path/to/zone-mta/config/zonemta.toml

[auth_keycloak]
realms = [ 'random-realm', 'another-realm' ]

License

The GNU General Public License 3 (details)

Support version

Keycloak : >=20

2.0.0

7 months ago

1.3.0

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.0

2 years ago