Skip to content

Commit 20561e2

Browse files
cgorshingdoomspork
authored andcommitted
Changes the default scope to be empty "". (#39)
1 parent 8368640 commit 20561e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ueberauth/strategy/github.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ defmodule Ueberauth.Strategy.Github do
6666
github: { Ueberauth.Strategy.Github, [default_scope: "user,public_repo"] }
6767
]
6868
69-
Default is "user,public_repo"
69+
Default is empty ("") which "Grants read-only access to public information (includes public user profile info, public repository info, and gists)"
7070
"""
7171
use Ueberauth.Strategy, uid_field: :id,
72-
default_scope: "user,public_repo",
72+
default_scope: "",
7373
oauth2_module: Ueberauth.Strategy.Github.OAuth
7474

7575
alias Ueberauth.Auth.Info

0 commit comments

Comments
 (0)