[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.
--- 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.
Add a comment