spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.

Home Page:http://projects.spring.io/spring-social

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting more data from Access Grant (Apple Sign In)

mathieuruellan opened this issue · comments

Hello, i'm using 1.1.6.Release.

I'm currently developing Apple Signin (mandatory for apps in june).
There is no Apple API to fetch profile with access_token. It's useless.
But, during the handshake with the auth code, the accessGrant has the IdToken, a jwt token that contains all what we need.
At the moment i've no alternative to override the OAuth2ConnectionFactory createConnection to put extradata.

Any suggestion or is it the only way?
Adding something to collect extra data at this point could be really helpful!