@mindbaz/zonemta-auth-keycloak

    1.2.0 • Public • Published

    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
    

    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

    Optional : to force a realm on current zmta instance

    auth_force_realms = true
    auth_realms = [ 'random-realm', 'another-realm' ]
    

    License

    The GNU General Public License 3 (details)

    Install

    npm i @mindbaz/zonemta-auth-keycloak

    DownloadsWeekly Downloads

    42

    Version

    1.2.0

    License

    GPL-3.0-or-later

    Unpacked Size

    56.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • schwarzion
    • vhenon