mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Merge pull request #151 from andypiper/master
fix for OAuth on older browsers (e.g. Epiphany on Pi)
This commit is contained in:
commit
58107d5c8d
@ -351,7 +351,7 @@ module.exports = function(RED) {
|
||||
} else {
|
||||
credentials.oauth_token = oauth_token;
|
||||
credentials.oauth_token_secret = oauth_token_secret;
|
||||
res.redirect('https://twitter.com/oauth/authorize?oauth_token='+oauth_token)
|
||||
res.redirect('https://api.twitter.com/oauth/authorize?oauth_token='+oauth_token)
|
||||
RED.nodes.addCredentials(req.params.id,credentials);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user