{"action":"created","issue":{"url":"https://api.github.com/repos/jaredhanson/passport-amazon/issues/2","labels_url":"https://api.github.com/repos/jaredhanson/passport-amazon/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jaredhanson/passport-amazon/issues/2/comments","events_url":"https://api.github.com/repos/jaredhanson/passport-amazon/issues/2/events","html_url":"https://github.com/jaredhanson/passport-amazon/issues/2","id":94283957,"number":2,"title":"How to connect via european client ID","user":{"login":"rentrop","id":9575579,"avatar_url":"https://avatars.githubusercontent.com/u/9575579?v=3","gravatar_id":"","url":"https://api.github.com/users/rentrop","html_url":"https://github.com/rentrop","followers_url":"https://api.github.com/users/rentrop/followers","following_url":"https://api.github.com/users/rentrop/following{/other_user}","gists_url":"https://api.github.com/users/rentrop/gists{/gist_id}","starred_url":"https://api.github.com/users/rentrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentrop/subscriptions","organizations_url":"https://api.github.com/users/rentrop/orgs","repos_url":"https://api.github.com/users/rentrop/repos","events_url":"https://api.github.com/users/rentrop/events{/privacy}","received_events_url":"https://api.github.com/users/rentrop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T10:54:09Z","updated_at":"2015-07-10T20:57:24Z","closed_at":"2015-07-10T20:57:24Z","body":"Hi there,\r\n\r\nwhen using the US client ID and secret ti works \r\n(registered app on https://sellercentral-europe.amazon.com/gp/homepage.html)\r\n\r\nBut using the european client ID and secret i get an Error saying\r\n```\r\n    Error Code: 400\r\n    Error Message: Unknown client_id\r\n```\r\n(registered app on https://sellercentral-europe.amazon.com/gp/homepage.html)\r\n\r\nI tried:\r\n```\r\npassport.use(new AmazonStrategy({\r\n            clientID: config.amazon.clientID,\r\n            clientSecret: config.amazon.clientSecret,\r\n            callbackURL: config.amazon.callbackURL,\r\n            passReqToCallback: true,\r\n            authorizationURL: 'https://www.amazon.de/ap/oa', //.de instead of .com\r\n            tokenURL: 'https://api.sandbox.amazon.de/auth/o2/token' //.de instead of .com\r\n        }, ...\r\n```\r\n\r\nBut it does not work. \r\n\r\nWhere/how can i change the endpoint/url the request is made to? I guess this has to be updated.\r\n\r\nThank you in advance.\r\nRichard"},"comment":{"url":"https://api.github.com/repos/jaredhanson/passport-amazon/issues/comments/120524186","html_url":"https://github.com/jaredhanson/passport-amazon/issues/2#issuecomment-120524186","issue_url":"https://api.github.com/repos/jaredhanson/passport-amazon/issues/2","id":120524186,"user":{"login":"rentrop","id":9575579,"avatar_url":"https://avatars.githubusercontent.com/u/9575579?v=3","gravatar_id":"","url":"https://api.github.com/users/rentrop","html_url":"https://github.com/rentrop","followers_url":"https://api.github.com/users/rentrop/followers","following_url":"https://api.github.com/users/rentrop/following{/other_user}","gists_url":"https://api.github.com/users/rentrop/gists{/gist_id}","starred_url":"https://api.github.com/users/rentrop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentrop/subscriptions","organizations_url":"https://api.github.com/users/rentrop/orgs","repos_url":"https://api.github.com/users/rentrop/repos","events_url":"https://api.github.com/users/rentrop/events{/privacy}","received_events_url":"https://api.github.com/users/rentrop/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T20:57:24Z","updated_at":"2015-07-10T20:57:24Z","body":"Using\r\n\r\n```\r\n            authorizationURL: 'https://eu.account.amazon.com/ap/oa', //.de instead of .com\r\n            tokenURL: 'https://api.amazon.de/auth/o2/token' //.de instead of .com\r\n```\r\n\r\nDid the trick."}}