Skip to content

Commit

Permalink
refs #28 add required environment variables for twitter auth
Browse files Browse the repository at this point in the history
  • Loading branch information
mass-min committed Aug 4, 2019
1 parent 93fcd20 commit 4508e0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

TWITTER_CONSUMER_API_KEY=
TWITTER_CONSUMER_API_SECRET_KEY=
TWITTER_CALLBACK_URL=
1 change: 0 additions & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@
/*
* Package Service Providers...
*/

Laravel\Socialite\SocialiteServiceProvider::class,

/*
Expand Down
6 changes: 3 additions & 3 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
],

'twitter' => [
'client_id' => env('TWITTER_CLIENT_ID'),
'client_secret' => env('TWITTER_CLIENT_SECRET'),
'redirect' => env('TWITTER_CLIENT_CALLBACK')
'client_id' => env('TWITTER_CONSUMER_API_KEY'),
'client_secret' => env('TWITTER_CONSUMER_API_SECRET_KEY'),
'redirect' => env('TWITTER_CALLBACK_URL')
],

];

0 comments on commit 4508e0f

Please sign in to comment.