Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3333 from withspectrum/fix-twitter-auth
Browse files Browse the repository at this point in the history
Fix local Twitter auth
  • Loading branch information
brianlovin committed Jun 15, 2018
2 parents f5770dc + ca0d762 commit a59780d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const init = () => {
{
consumerKey: TWITTER_OAUTH_CLIENT_ID,
consumerSecret: TWITTER_OAUTH_CLIENT_SECRET,
callbackURL: 'https://spectrum.chat/auth/twitter/callback',
callbackURL: IS_PROD
? 'https://spectrum.chat/auth/twitter/callback'
: 'http://localhost:3001/auth/twitter/callback',
includeEmail: true,
},
(token, tokenSecret, profile, done) => {
Expand Down

0 comments on commit a59780d

Please sign in to comment.