{"action":"created","issue":{"url":"https://api.github.com/repos/clems4ever/authelia/issues/276","repository_url":"https://api.github.com/repos/clems4ever/authelia","labels_url":"https://api.github.com/repos/clems4ever/authelia/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/clems4ever/authelia/issues/276/comments","events_url":"https://api.github.com/repos/clems4ever/authelia/issues/276/events","html_url":"https://github.com/clems4ever/authelia/issues/276","id":362125799,"node_id":"MDU6SXNzdWUzNjIxMjU3OTk=","number":276,"title":"missing domain= header, and redirect value missing","user":{"login":"BankaiNoJutsu","id":2241519,"node_id":"MDQ6VXNlcjIyNDE1MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2241519?v=4","gravatar_id":"","url":"https://api.github.com/users/BankaiNoJutsu","html_url":"https://github.com/BankaiNoJutsu","followers_url":"https://api.github.com/users/BankaiNoJutsu/followers","following_url":"https://api.github.com/users/BankaiNoJutsu/following{/other_user}","gists_url":"https://api.github.com/users/BankaiNoJutsu/gists{/gist_id}","starred_url":"https://api.github.com/users/BankaiNoJutsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BankaiNoJutsu/subscriptions","organizations_url":"https://api.github.com/users/BankaiNoJutsu/orgs","repos_url":"https://api.github.com/users/BankaiNoJutsu/repos","events_url":"https://api.github.com/users/BankaiNoJutsu/events{/privacy}","received_events_url":"https://api.github.com/users/BankaiNoJutsu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T10:37:16Z","updated_at":"2018-09-20T12:18:26Z","closed_at":"2018-09-20T12:18:26Z","author_association":"NONE","body":"Hello,\r\n\r\nI have an issue, and i suspect some header missing, maybe someone can help me?\r\n\r\nI am using an npm deployment, on latest version and behind a reverse nginx.\r\nalready changed $redirect to $rd as well.\r\n\r\nBasically the value of the 'domain=' header is empty, and also the redirect is always getting set as undefined.\r\n\r\nAny ideas?\r\n\r\nSorry to post this as an issue, probably it is a configuration issue more than a bug.\r\n\r\n`Sep 20 12:26:13 authelia authelia[8488]: debug: date='Thu Sep 20 2018 12:26:13 GMT+0200 (CEST)' method='GET', path='/api/verify' requestId='5f8807a5-7d48-4472-acf5-4162505b2d37' sessionId='20N5oO4RBK6vL3l7H2_qZwAWt4TiRmy1' ip='xxx.xxx.xxx.xxx' message='Headers = {\"x-original-uri\":\"/, https://home.example.com/\",\"x-real-ip\":\"xxx.xxx.xxx.xxx\",\"x-forwarded-proto\":\"https\",\"x-forwarded-for\":\"xxx.xxx.xxx.xxx\",\"host\":\"home.example.com\",\"connection\":\"close\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"fr-CH,fr;q=0.9,de-CH;q=0.8,de;q=0.7,en-CH;q=0.6,en;q=0.5,fr-FR;q=0.4,en-US;q=0.3,ru;q=0.2,lb;q=0.1\",\"cookie\":\"authelia_session=s%3A20N5oO4RBK6vL3l7H2_qZwAWt4TiRmy1.daSvEYrRUXhwJ%2BiBFuFLABYkbOKmq2rV%2BSUCmtpwcME\"}`\r\n\r\n\r\n```\r\nSep 20 12:26:13 authelia authelia[8488]: debug: date='Thu Sep 20 2018 12:26:13 GMT+0200 (CEST)' method='GET', path='/api/verify' requestId='5f8807a5-7d48-4472-acf5-4162505b2d37' sessionId='20N5oO4RBK6vL3l7H2_qZwAWt4TiRmy1' ip='xxx.xxx.xxx.xxx' message='domain=, request_uri=/, https://home.example.com/, user=user, groups=admin'\r\nSep 20 12:26:13 authelia authelia[8488]: error: date='Thu Sep 20 2018 12:26:13 GMT+0200 (CEST)' method='GET', path='/api/verify' requestId='5f8807a5-7d48-4472-acf5-4162505b2d37' sessionId='20N5oO4RBK6vL3l7H2_qZwAWt4TiRmy1' ip='xxx.xxx.xxx.xxx' message='Reply with error 403: User 'user' does not have access to '''\r\nSep 20 12:26:13 authelia authelia[8488]: debug: date='Thu Sep 20 2018 12:26:13 GMT+0200 (CEST)' method='GET', path='/api/verify' requestId='5f8807a5-7d48-4472-acf5-4162505b2d37' sessionId='20N5oO4RBK6vL3l7H2_qZwAWt4TiRmy1' ip='xxx.xxx.xxx.xxx' message='DomainAccessDenied: User 'user' does not have access to ''\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/clems4ever/authelia/issues/comments/423161741","html_url":"https://github.com/clems4ever/authelia/issues/276#issuecomment-423161741","issue_url":"https://api.github.com/repos/clems4ever/authelia/issues/276","id":423161741,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzE2MTc0MQ==","user":{"login":"BankaiNoJutsu","id":2241519,"node_id":"MDQ6VXNlcjIyNDE1MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2241519?v=4","gravatar_id":"","url":"https://api.github.com/users/BankaiNoJutsu","html_url":"https://github.com/BankaiNoJutsu","followers_url":"https://api.github.com/users/BankaiNoJutsu/followers","following_url":"https://api.github.com/users/BankaiNoJutsu/following{/other_user}","gists_url":"https://api.github.com/users/BankaiNoJutsu/gists{/gist_id}","starred_url":"https://api.github.com/users/BankaiNoJutsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BankaiNoJutsu/subscriptions","organizations_url":"https://api.github.com/users/BankaiNoJutsu/orgs","repos_url":"https://api.github.com/users/BankaiNoJutsu/repos","events_url":"https://api.github.com/users/BankaiNoJutsu/events{/privacy}","received_events_url":"https://api.github.com/users/BankaiNoJutsu/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T12:18:26Z","updated_at":"2018-09-20T12:18:26Z","author_association":"NONE","body":"domain= header is still empty, but it works now. I had an issue where the rd was not being used, had to add the header proxy_set_header X-Original-URL $scheme://$host$request_uri;\r\n\r\nFound the clue at:\r\nhttps://github.com/clems4ever/authelia/issues/216\r\n\r\nSorry, closing issue, my bad."}}
{"actor":{"display_login":"BankaiNoJutsu"}}