Skip to main content
Version: Next

Authenticate an NGINX auth_http request.

GET 

/api/v1/auth/nginx

Reads NGINX mail auth_http-compatible headers and returns the decision through Auth-* response headers. NGINX mode intentionally returns HTTP 200 for authentication failures and communicates the result via Auth-Status.

Request

Responses

NGINX auth_http result. HTTP status is 200 for both success and authentication failure; Auth-Status carries OK or the failure message.

Response Headers
    Auth-Status
    Auth-User
    Auth-Server
    Auth-Port
    Auth-Wait
    Auth-Error-Code
    X-Nauthilus-Memory-Cache
    X-Nauthilus-Session