datalust / seq-api

HTTP API client for Seq
https://datalust.co/seq
Apache License 2.0
77 stars 21 forks source link

Add example app for first-time Seq setup - enabling Azure Active Directory as authentication #86

Closed larenelg closed 3 years ago

larenelg commented 3 years ago

Seq Enable AAD (Azure Active Directory)

Be sure to read the Seq Azure Active Directory documentation to find the manual AAD setup instructions.

Example usage:

seq-enable-aad.exe https://seq.example.com --uname=example@microsoft.com --clientid=xxxxxx --tenantid=xxxxxx --clientkey=xxxxxx --authority=login.windows.net

Important note:

Windows

Don't forget to set the "canonical URI" which Seq uses as a reply address for AAD.

seq config -k api.canonicalUri -v https://seq.example.com
seq service restart

Linux / Docker

Don't forget to include the BASE_URI which Seq uses as a reply address for AAD.

docker run -d \
  --restart unless-stopped \
  --name seq \
  -p 5341:80 \
  -e ACCEPT_EULA=Y \
  -e BASE_URI=https://seq.example.com \
  datalust/seq:latest