{"action":"closed","issue":{"url":"https://api.github.com/repos/clems4ever/authelia/issues/234","repository_url":"https://api.github.com/repos/clems4ever/authelia","labels_url":"https://api.github.com/repos/clems4ever/authelia/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/clems4ever/authelia/issues/234/comments","events_url":"https://api.github.com/repos/clems4ever/authelia/issues/234/events","html_url":"https://github.com/clems4ever/authelia/issues/234","id":332824540,"node_id":"MDU6SXNzdWUzMzI4MjQ1NDA=","number":234,"title":"404 error for api/verify","user":{"login":"ejparker12","id":39018001,"node_id":"MDQ6VXNlcjM5MDE4MDAx","avatar_url":"https://avatars3.githubusercontent.com/u/39018001?v=4","gravatar_id":"","url":"https://api.github.com/users/ejparker12","html_url":"https://github.com/ejparker12","followers_url":"https://api.github.com/users/ejparker12/followers","following_url":"https://api.github.com/users/ejparker12/following{/other_user}","gists_url":"https://api.github.com/users/ejparker12/gists{/gist_id}","starred_url":"https://api.github.com/users/ejparker12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejparker12/subscriptions","organizations_url":"https://api.github.com/users/ejparker12/orgs","repos_url":"https://api.github.com/users/ejparker12/repos","events_url":"https://api.github.com/users/ejparker12/events{/privacy}","received_events_url":"https://api.github.com/users/ejparker12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-15T15:43:54Z","updated_at":"2018-06-15T18:05:43Z","closed_at":"2018-06-15T18:05:43Z","author_association":"NONE","body":"Now that I've got the authentication process of authelia working again I have discovered that the verification in nginx isn't working anymore either (it seems /api/verify isn't working):\r\n\r\nNginx Error:\r\n`2018/06/15 15:32:49 [error] 7541#7541: *3 auth request unexpected status: 404 while sending to client, client: 172.16.41.30, server: portal.actcur.com, request: \"GET /authenticated.php HTTP/1.1\", host: \"portal.actcur.com`\r\n\r\nPartial nginx config:\r\n```\r\n  location /auth_verify {\r\n    internal;\r\n    proxy_pass_request_body off;\r\n    proxy_set_header  X-Original-URI $request_uri;\r\n    proxy_set_header  X-Real-IP $remote_addr;\r\n    proxy_set_header  Host $http_host;\r\n    proxy_set_header  Content-Length \"\";\r\n\r\n    proxy_pass        http://authelia.example.com:8080/api/verify;\r\n  }\r\n  location /authenticated.php {\r\n    auth_request /auth_verify;\r\n\r\n    error_page 401 =302 https://portal.example.com/unauthenticated.php;\r\n\r\n    try_files $uri $document_root$fastcgi_script_name =404;\r\n    fastcgi_pass unix:/run/php-fpm/php-fpm.sock;\r\n    fastcgi_index index.php;\r\n    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n    include fastcgi.conf;\r\n    index index.php;\r\n\r\n    root /srv/http/portal/public;\r\n  }\r\n```\r\n\r\nI don't get any error message in authelia, and I can access the login page via using \"curl authelia.example.com\" from my portal without issues - but for whatever reason the /api/verify url appears to be throwing back a 404 error. This is whether I point auth_verify to the nginx proxy on my authelia server or point it directly to authelia itself (the current configuration)\r\n\r\n\r\nRunning \"curl http://127.0.0.1:8080/api/verify\" from the authelia server returns:\r\n```\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<title>Error</title>\r\n</head>\r\n<body>\r\n<pre>Cannot GET /api/verify</pre>\r\n</body>\r\n</html>\r\n```\r\n\r\n\r\nNode version 8.11, NPM version 6.0.1, Authelia 3.7.1"}}
{"actor":{"display_login":"ejparker12"}}