{"action":"opened","issue":{"url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/93","repository_url":"https://api.github.com/repos/difi/dc16-oidc-proxy","labels_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/93/comments","events_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/93/events","html_url":"https://github.com/difi/dc16-oidc-proxy/issues/93","id":166745950,"number":93,"title":"Server cannot handle requesting unsecured path when logged in with valid cookie","user":{"login":"viktorfa","id":5357936,"avatar_url":"https://avatars.githubusercontent.com/u/5357936?v=3","gravatar_id":"","url":"https://api.github.com/users/viktorfa","html_url":"https://github.com/viktorfa","followers_url":"https://api.github.com/users/viktorfa/followers","following_url":"https://api.github.com/users/viktorfa/following{/other_user}","gists_url":"https://api.github.com/users/viktorfa/gists{/gist_id}","starred_url":"https://api.github.com/users/viktorfa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktorfa/subscriptions","organizations_url":"https://api.github.com/users/viktorfa/orgs","repos_url":"https://api.github.com/users/viktorfa/repos","events_url":"https://api.github.com/users/viktorfa/events{/privacy}","received_events_url":"https://api.github.com/users/viktorfa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/difi/dc16-oidc-proxy/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-21T06:22:47Z","updated_at":"2016-07-21T06:22:47Z","closed_at":null,"body":"1. Login\r\n2. Access unsecured resource\r\n3. 400 BAD REQUEST\r\n\r\nShould rather get the requested resource and insert Difi headers into request.\r\n\r\njava.lang.NullPointerException\r\n\tat no.difi.idporten.oidc.proxy.config.DefaultSecurityConfig.getUserDataNames(DefaultSecurityConfig.java:91)\r\n\tat no.difi.idporten.oidc.proxy.proxy.RequestInterceptor.insertUserDataToHeader(RequestInterceptor.java:31)\r\n\tat no.difi.idporten.oidc.proxy.proxy.ResponseGenerator.generateProxyResponse(ResponseGenerator.java:101)\r\n\t"}}
{"actor":{"display_login":"viktorfa"}}