{"action":"created","issue":{"url":"https://api.github.com/repos/dexidp/dex/issues/1263","repository_url":"https://api.github.com/repos/dexidp/dex","labels_url":"https://api.github.com/repos/dexidp/dex/issues/1263/labels{/name}","comments_url":"https://api.github.com/repos/dexidp/dex/issues/1263/comments","events_url":"https://api.github.com/repos/dexidp/dex/issues/1263/events","html_url":"https://github.com/dexidp/dex/issues/1263","id":342086681,"node_id":"MDU6SXNzdWUzNDIwODY2ODE=","number":1263,"title":"Render connector error message in addition to generic","user":{"login":"alexmt","id":426437,"node_id":"MDQ6VXNlcjQyNjQzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/426437?v=4","gravatar_id":"","url":"https://api.github.com/users/alexmt","html_url":"https://github.com/alexmt","followers_url":"https://api.github.com/users/alexmt/followers","following_url":"https://api.github.com/users/alexmt/following{/other_user}","gists_url":"https://api.github.com/users/alexmt/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmt/subscriptions","organizations_url":"https://api.github.com/users/alexmt/orgs","repos_url":"https://api.github.com/users/alexmt/repos","events_url":"https://api.github.com/users/alexmt/events{/privacy}","received_events_url":"https://api.github.com/users/alexmt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-17T21:12:03Z","updated_at":"2018-09-13T06:49:54Z","closed_at":null,"author_association":"NONE","body":"In case if user is not able to login dex is not showing error returned by the connector. E.g. if github connector rejects authentication request because user not in required orgs or teams then dex error page will display `Failed to return user's identity.` error message and actual error is available only in logs.\r\n\r\nhttps://github.com/coreos/dex/blob/036e5d050dacdb3aa51029206e2bc26862abfbc3/server/handlers.go#L387-L391\r\n\r\nDex handler should display error message returned by connector so user can understand why request was rejected."},"comment":{"url":"https://api.github.com/repos/dexidp/dex/issues/comments/420902391","html_url":"https://github.com/dexidp/dex/issues/1263#issuecomment-420902391","issue_url":"https://api.github.com/repos/dexidp/dex/issues/1263","id":420902391,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDkwMjM5MQ==","user":{"login":"alexmt","id":426437,"node_id":"MDQ6VXNlcjQyNjQzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/426437?v=4","gravatar_id":"","url":"https://api.github.com/users/alexmt","html_url":"https://github.com/alexmt","followers_url":"https://api.github.com/users/alexmt/followers","following_url":"https://api.github.com/users/alexmt/following{/other_user}","gists_url":"https://api.github.com/users/alexmt/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmt/subscriptions","organizations_url":"https://api.github.com/users/alexmt/orgs","repos_url":"https://api.github.com/users/alexmt/repos","events_url":"https://api.github.com/users/alexmt/events{/privacy}","received_events_url":"https://api.github.com/users/alexmt/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T06:49:54Z","updated_at":"2018-09-13T06:49:54Z","author_association":"NONE","body":"thank you for response @srenatus ! working on pull request"}}
{"actor":{"display_login":"alexmt"}}