{"action":"closed","issue":{"url":"https://api.github.com/repos/node-red/node-red-web-nodes/issues/122","labels_url":"https://api.github.com/repos/node-red/node-red-web-nodes/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/node-red/node-red-web-nodes/issues/122/comments","events_url":"https://api.github.com/repos/node-red/node-red-web-nodes/issues/122/events","html_url":"https://github.com/node-red/node-red-web-nodes/issues/122","id":69036774,"number":122,"title":"redirection URIs for OAuth web nodes include colon when default ports are used","user":{"login":"mblackstock","id":707704,"avatar_url":"https://avatars.githubusercontent.com/u/707704?v=3","gravatar_id":"","url":"https://api.github.com/users/mblackstock","html_url":"https://github.com/mblackstock","followers_url":"https://api.github.com/users/mblackstock/followers","following_url":"https://api.github.com/users/mblackstock/following{/other_user}","gists_url":"https://api.github.com/users/mblackstock/gists{/gist_id}","starred_url":"https://api.github.com/users/mblackstock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mblackstock/subscriptions","organizations_url":"https://api.github.com/users/mblackstock/orgs","repos_url":"https://api.github.com/users/mblackstock/repos","events_url":"https://api.github.com/users/mblackstock/events{/privacy}","received_events_url":"https://api.github.com/users/mblackstock/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T00:31:15Z","updated_at":"2015-04-17T22:41:29Z","closed_at":"2015-04-17T22:41:29Z","body":"When node-red is deployed on the default http(s) ports (80/443), the redirect URIs for OAuth2 authentication in the web nodes include a colon.\r\n\r\nFor example: `https://fred.sensetecnic.com:/red/google-credentials/auth/callback`\r\nshould be: `https://fred.sensetecnic.com/red/google-credentials/auth/callback`\r\n\r\nThis causes problems with OAuth services that are strict about the callback URIs matching what is registered.  Google will not accept a callback URI with a colon.\r\n\r\nAlso, related to this, instagram, and some others (strava?) do not include the path that NR is running on.  For in the above example the `/red/` part of the URI. "}}