This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Description
I'm using spring-social/spring-social-github in order to authenticate user through GitHub in my Spring Boot web application.
In order to sign in user I have created following html form:
<form action="http://example.com/auth/github" method="POST">
<input name="scope" value="user,gist" type="hidden">
<button type="submit">Sign in with GitHub</button>
</form>
everything works fine except I can't get user email address.
According to GitHub documentation https://developer.github.com/v3/oauth/#scopes GitHub OAuth API user scope includes user:email and user:follow.
What can be wrong ?