[Notice] Announcing the End of Demo Server [Read me]
doortts doortts 2017-02-11
social-login: Change required github user scope
Currently, Yona is only accessible user's public data in Github.
However, there is a problem that users who hide their email address can not login.

So, changed it to make include user email address at first social login.
@bf5286793975c3dd76e0113d7f2cd177d37b2d9d
conf/social-login.conf.default
--- conf/social-login.conf.default
+++ conf/social-login.conf.default
@@ -60,6 +60,9 @@
         # accessTokenUrl="https://your-github-enterprise/login/oauth/access_token"
         # userInfoUrl="https://your-github-enterprise/api/v3/user"
 
+        # Accessible scope
+        scope="user:email"
+
         # Following key values are used for test. You must set it your own values.
         clientId=add60851e36488138581
         clientSecret=3f9472dcd7cb4c3c09e06b03f97f1b5fe2315af3
Add a comment
List