{"action":"created","issue":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/3801","repository_url":"https://api.github.com/repos/syndesisio/syndesis","labels_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3801/labels{/name}","comments_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3801/comments","events_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3801/events","html_url":"https://github.com/syndesisio/syndesis/issues/3801","id":369036107,"node_id":"MDU6SXNzdWUzNjkwMzYxMDc=","number":3801,"title":"[1.4.9] Unable to login to syndesis on openshift pro","user":{"login":"mmelko","id":6814482,"node_id":"MDQ6VXNlcjY4MTQ0ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/6814482?v=4","gravatar_id":"","url":"https://api.github.com/users/mmelko","html_url":"https://github.com/mmelko","followers_url":"https://api.github.com/users/mmelko/followers","following_url":"https://api.github.com/users/mmelko/following{/other_user}","gists_url":"https://api.github.com/users/mmelko/gists{/gist_id}","starred_url":"https://api.github.com/users/mmelko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmelko/subscriptions","organizations_url":"https://api.github.com/users/mmelko/orgs","repos_url":"https://api.github.com/users/mmelko/repos","events_url":"https://api.github.com/users/mmelko/events{/privacy}","received_events_url":"https://api.github.com/users/mmelko/received_events","type":"User","site_admin":false},"labels":[{"id":751428603,"node_id":"MDU6TGFiZWw3NTE0Mjg2MDM=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/cat/bug","name":"cat/bug","color":"065468","default":false},{"id":867106515,"node_id":"MDU6TGFiZWw4NjcxMDY1MTU=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/notif/triage","name":"notif/triage","color":"97bcfc","default":false},{"id":751428831,"node_id":"MDU6TGFiZWw3NTE0Mjg4MzE=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/prio/p0","name":"prio/p0","color":"f85963","default":false},{"id":1064813854,"node_id":"MDU6TGFiZWwxMDY0ODEzODU0","url":"https://api.github.com/repos/syndesisio/syndesis/labels/progress/inbox","name":"progress/inbox","color":"ecbdf9","default":false},{"id":995262067,"node_id":"MDU6TGFiZWw5OTUyNjIwNjc=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/source/qe","name":"source/qe","color":"ffff99","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-11T09:40:17Z","updated_at":"2018-10-11T09:40:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## This is a...\r\n\r\n<pre><code>\r\n[ ] Feature request\r\n[x] Regression (a behavior that used to work and stopped working in a new release)\r\n[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Documentation issue or request\r\n</code></pre>\r\n\r\n## Description\r\nAfter installation from template to openshift Pro  I'm unable to login into syndesis with message: 500 Internal Error\r\n\r\n#### Version\r\nOpenShift Master: v3.9.41\r\nKubernetes Master:v1.9.1+a0ce1bc657\r\nOpenShift Web Console:v3.9.41\r\nSyndesis 1.4.9\r\n\r\nLog from syndesis-oauthproxy pod\r\n```\r\n2018/10/11 09:19:26 provider.go:572: 200 GET https://172.30.0.1/.well-known/oauth-authorization-server  {\r\n--\r\n  | \"issuer\": \"https://api.pro-us-east-1.openshift.com \",\r\n  | \"authorization_endpoint\": \"https://api.pro-us-east-1.openshift.com/oauth/authorize \",\r\n  | \"token_endpoint\": \"https://api.pro-us-east-1.openshift.com/oauth/token \",\r\n  | \"scopes_supported\": [\r\n  | \"user:check-access\",\r\n  | \"user:full\",\r\n  | \"user:info\",\r\n  | \"user:list-projects\",\r\n  | \"user:list-scoped-projects\"\r\n  | ],\r\n  | \"response_types_supported\": [\r\n  | \"code\",\r\n  | \"token\"\r\n  | ],\r\n  | \"grant_types_supported\": [\r\n  | \"authorization_code\",\r\n  | \"implicit\"\r\n  | ],\r\n  | \"code_challenge_methods_supported\": [\r\n  | \"plain\",\r\n  | \"S256\"\r\n  | ]\r\n  | }\r\n  | 2018/10/11 09:19:26 oauthproxy.go:201: mapping path \"/api/\" => upstream \"http://syndesis-server/api/ \"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:201: mapping path \"/mapper/\" => upstream \"http://syndesis-server/mapper/ \"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:201: mapping path \"/\" => upstream \"http://syndesis-ui/ \"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:222: compiled skip-auth-regex => \"/logout\"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:222: compiled skip-auth-regex => \"/[^/]+\\\\.(png\\|jpg\\|eot\\|svg\\|ttf\\|woff\\|woff2)\"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:222: compiled skip-auth-regex => \"/api/v1/swagger.*\"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:222: compiled skip-auth-regex => \"/api/v1/index.html\"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:222: compiled skip-auth-regex => \"/api/v1/credentials/callback\"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:222: compiled skip-auth-regex => \"/api/v1/version\"\r\n  | 2018/10/11 09:19:26 oauthproxy.go:228: OAuthProxy configured for  Client ID: system:serviceaccount:syndesis:syndesis-oauth-client\r\n  | 2018/10/11 09:19:26 oauthproxy.go:238: Cookie settings: name:_oauth_proxy secure(https):true httponly:true expiry:168h0m0s domain:<default> refresh:disabled\r\n  | 2018/10/11 09:19:26 http.go:56: HTTP: listening on 127.0.0.1:4180\r\n  | 2018/10/11 09:19:26 http.go:96: HTTPS: listening on [::]:8443\r\n  | 2018/10/11 09:21:58 oauthproxy.go:635: error redeeming code (client:10.128.12.1:50836): got 400 from \"https://api.pro-us-east-1.openshift.com/oauth/token \" {\"error\":\"unauthorized_client\",\"error_description\":\"The client is not authorized to request a token using this method.\"}\r\n  | 2018/10/11 09:21:58 oauthproxy.go:434: ErrorPage 500 Internal Error Internal Error\r\n  | 2018/10/11 09:22:01 oauthproxy.go:635: error redeeming code (client:10.128.12.1:50836): got 400 from \"https://api.pro-us-east-1.openshift.com/oauth/token \" {\"error\":\"unauthorized_client\",\"error_description\":\"The client is not authorized to request a token using this method.\"}\r\n  | 2018/10/11 09:22:01 oauthproxy.go:434: ErrorPage 500 Internal Error Internal Error\r\n```\r\n\r\n#### Steps to reproduce \r\n\r\nrun on onpenshift pro \r\n```\r\noc create -f https://raw.githubusercontent.com/syndesisio/syndesis/master/install/support/serviceaccount-as-oauthclient-restricted.yml\r\noc create -f https://raw.githubusercontent.com/syndesisio/syndesis/1.4.9/install/syndesis.yml\r\noc new-app syndesis -p OPENSHIFT_MASTER=$(oc whoami --show-server) -p OPENSHIFT_PROJECT=$(oc project -q) -p ROUTE_HOSTNAME=syndesis.b9ad.pro-us-east-1.openshiftapps.com\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/comments/428890304","html_url":"https://github.com/syndesisio/syndesis/issues/3801#issuecomment-428890304","issue_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3801","id":428890304,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg5MDMwNA==","user":{"login":"mmelko","id":6814482,"node_id":"MDQ6VXNlcjY4MTQ0ODI=","avatar_url":"https://avatars3.githubusercontent.com/u/6814482?v=4","gravatar_id":"","url":"https://api.github.com/users/mmelko","html_url":"https://github.com/mmelko","followers_url":"https://api.github.com/users/mmelko/followers","following_url":"https://api.github.com/users/mmelko/following{/other_user}","gists_url":"https://api.github.com/users/mmelko/gists{/gist_id}","starred_url":"https://api.github.com/users/mmelko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmelko/subscriptions","organizations_url":"https://api.github.com/users/mmelko/orgs","repos_url":"https://api.github.com/users/mmelko/repos","events_url":"https://api.github.com/users/mmelko/events{/privacy}","received_events_url":"https://api.github.com/users/mmelko/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T09:40:37Z","updated_at":"2018-10-11T09:40:37Z","author_association":"CONTRIBUTOR","body":"@tplevko was able to reproduce it too. "}}
{"actor":{"display_login":"mmelko"}}