Regarding response body after authentication in java in case of social login , how to retrieve JWT claims

Hi All,

We are just developing an java application and in the front end we are using angular framework. So basically we are new to Oauth and social login, My question is after login we will get a response body, we is provided by the third party as successful authorised response. Regarding few questions i have.

  1. How will be response body look like ( example will be good, you can take google as third party)
  2. From the response can we extract JWT claims?
  3. If JWT claims are available, username and email will be part of claims?

Since i am new to these topic, please kindly give an insight on this. Thanks in advance