{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-zmon/zmon-controller/issues/335","repository_url":"https://api.github.com/repos/zalando-zmon/zmon-controller","labels_url":"https://api.github.com/repos/zalando-zmon/zmon-controller/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/zalando-zmon/zmon-controller/issues/335/comments","events_url":"https://api.github.com/repos/zalando-zmon/zmon-controller/issues/335/events","html_url":"https://github.com/zalando-zmon/zmon-controller/issues/335","id":183464361,"number":335,"title":"GitHub auth broken in release cd432","user":{"login":"marek-obuchowicz","id":712751,"avatar_url":"https://avatars.githubusercontent.com/u/712751?v=3","gravatar_id":"","url":"https://api.github.com/users/marek-obuchowicz","html_url":"https://github.com/marek-obuchowicz","followers_url":"https://api.github.com/users/marek-obuchowicz/followers","following_url":"https://api.github.com/users/marek-obuchowicz/following{/other_user}","gists_url":"https://api.github.com/users/marek-obuchowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/marek-obuchowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marek-obuchowicz/subscriptions","organizations_url":"https://api.github.com/users/marek-obuchowicz/orgs","repos_url":"https://api.github.com/users/marek-obuchowicz/repos","events_url":"https://api.github.com/users/marek-obuchowicz/events{/privacy}","received_events_url":"https://api.github.com/users/marek-obuchowicz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-17T16:29:47Z","updated_at":"2016-10-18T13:06:38Z","closed_at":null,"body":"Docker container with tag `cd432` / github revision `4ce50261a3283145b3e29adae98300ed4a2d9ec8` breaks on github auth:\r\n```\r\n2016-10-17 16:26:20.042  WARN 10 --- [io-8080-exec-10] o.z.z.l.AuthenticationEventListener      : User [] authentication failed: [No AuthenticationProvider found for org.springframework.social.security.SocialAuthenticationToken]\r\n```\r\n - user sees `signin` page, then authenticates in GitHub, then is redirected back to the same page.\r\nIt used to work in container with tag `cd379`. Running controller on kubernetes, with demo setup.\r\n"},"comment":{"url":"https://api.github.com/repos/zalando-zmon/zmon-controller/issues/comments/254501383","html_url":"https://github.com/zalando-zmon/zmon-controller/issues/335#issuecomment-254501383","issue_url":"https://api.github.com/repos/zalando-zmon/zmon-controller/issues/335","id":254501383,"user":{"login":"marek-obuchowicz","id":712751,"avatar_url":"https://avatars.githubusercontent.com/u/712751?v=3","gravatar_id":"","url":"https://api.github.com/users/marek-obuchowicz","html_url":"https://github.com/marek-obuchowicz","followers_url":"https://api.github.com/users/marek-obuchowicz/followers","following_url":"https://api.github.com/users/marek-obuchowicz/following{/other_user}","gists_url":"https://api.github.com/users/marek-obuchowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/marek-obuchowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marek-obuchowicz/subscriptions","organizations_url":"https://api.github.com/users/marek-obuchowicz/orgs","repos_url":"https://api.github.com/users/marek-obuchowicz/repos","events_url":"https://api.github.com/users/marek-obuchowicz/events{/privacy}","received_events_url":"https://api.github.com/users/marek-obuchowicz/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T13:06:38Z","updated_at":"2016-10-18T13:06:38Z","body":"Can you please invite marek@korekontrol.eu to zmon.slack.com? :)\r\n\r\nOn github side seems like all configuration is fine - it works fine for `cd379`, but not for `cd432`.\r\nI'm starting controller with unmodified `github` spring profile, env:\r\n```\r\n        env:\r\n        - name: \"MANAGEMENT_PORT\"\r\n          value: |-\r\n            8079\r\n        - name: \"MANAGEMENT_SECURITY_ENABLED\"\r\n          value: |-\r\n            False\r\n        - name: \"MEM_JAVA_PERCENT\"\r\n          value: |-\r\n            25\r\n        - name: \"POSTGRES_PASSWORD\"\r\n          value: |-\r\n            xxx\r\n        - name: \"POSTGRES_URL\"\r\n          value: |-\r\n            jdbc:postgresql://zmon-postgres:5432/local_zmon_db\r\n        - name: \"POSTGRES_USERNAME\"\r\n          value: |-\r\n            postgres\r\n        - name: \"PRESHARED_TOKENS_xxx_EXPIRES_AT\"\r\n          value: |-\r\n            1758021422\r\n        - name: \"PRESHARED_TOKENS_xxx_UID\"\r\n          value: |-\r\n            zmon-scheduler\r\n        - name: \"PRESHARED_TOKENS_xxx_EXPIRES_AT\"\r\n          value: |-\r\n            1758021422\r\n        - name: \"PRESHARED_TOKENS_xxx_UID\"\r\n          value: |-\r\n            zmon-demo-bootstrap\r\n        - name: \"REDIS_HOST\"\r\n          value: |-\r\n            zmon-redis\r\n        - name: \"REDIS_PORT\"\r\n          value: |-\r\n            6379\r\n        - name: \"SERVER_PORT\"\r\n          value: |-\r\n            8080\r\n        - name: \"SERVER_SSL_ENABLED\"\r\n          value: |-\r\n            false\r\n        - name: \"SERVER_USE_FORWARD_HEADERS\"\r\n          value: |-\r\n            true\r\n        - name: \"SPRING_PROFILES_ACTIVE\"\r\n          value: |-\r\n            github\r\n        - name: \"ZMON_AUTHORITIES_SIMPLE_ADMINS\"\r\n          value: |-\r\n            *\r\n        - name: \"ZMON_EVENTLOG_URL\"\r\n          value: |-\r\n            http://zmon-eventlog:8081/\r\n        - name: \"ZMON_KAIROSDB_URL\"\r\n          value: |-\r\n            http://zmon-kairosdb:8083/\r\n        - name: \"ZMON_METRICCACHE_URL\"\r\n          value: |-\r\n            http://zmon-metric-cache:8086/\r\n        - name: \"ZMON_OAUTH2_SSO_CLIENT_ID\"\r\n          value: |-\r\n            xxx\r\n        - name: \"ZMON_OAUTH2_SSO_CLIENT_SECRET\"\r\n          value: |-\r\n            xxx\r\n        - name: \"ZMON_SCHEDULER_URL\"\r\n          value: |-\r\n            http://zmon-scheduler:8085/\r\n        - name: \"ZMON_TEAMS_SIMPLE_DEFAULT_TEAM\"\r\n          value: |-\r\n            ZMON\r\n\r\n```"}}
{"actor":{"display_login":"marek-obuchowicz"}}