Skip to content

Commit

Permalink
new: docs for scopes. #36
Browse files Browse the repository at this point in the history
  • Loading branch information
jmone committed Oct 20, 2019
1 parent 871dad4 commit daa4c6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ add to `config/services.php`:
'client_id' => env('GITHUB_CLIENT_ID'),
'client_secret' => env('GITHUB_CLIENT_SECRET'),
'redirect' => env('GITHUB_CALLBACK_URL'),
'scopes' => env('GITHUB_SCOPES'), // optional
],
```

Expand All @@ -42,6 +43,7 @@ AUTH_SOCIAL_LOGIN_PROVIDERS=Facebook,Twitter,Linkedin,Google,GitHub,GitLab,Bitbu
GITHUB_CLIENT_ID=foo
GITHUB_CLIENT_SECRET=bar
GITHUB_CALLBACK_URL=http://localhost/login/github/callback
GITHUB_SCOPES=user:email,public_repo
# disable password login
AUTH_PASSWORD_LOGIN_ENABLED=0
Expand Down

0 comments on commit daa4c6b

Please sign in to comment.