Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.22 KB

Notification.md

File metadata and controls

39 lines (30 loc) · 1.22 KB

Notification Service configuration

Notification service can be configured to provide push notification on user authentication attempts to a server.

Below are a list of notification service providers, currently supported by NexusAuth.

Keys notification is the same key also listed in the README.md.

Slack

Current version support alerting with Slack Incoming Webhooks.

Pre-requisite

  • Incoming webhook for to the workspace. More information can be found here.

Configuration

  • service - Notification provider name. slack
  • url - Webhook to post the alert to.

Sample

    "notification": {
        "service": "slack",
        "url": "https://hooks.slack.com/services/XXXXX/YYYYYYYY/ZZZZZZZZZZZZZZZZZ"
    }

Sample notifications

All login attempts will have one of the following results.

Success

slack-notification-success

Failure

slack-notification-fail