What is the significance of id_token JSON property

30 views
Skip to first unread message

Ramana G N S V

unread,
Jul 21, 2015, 9:58:44 AM7/21/15
to gtm-o...@googlegroups.com
I am trying to retrieve the access token using the below URL


and I am getting the response similar to below JSON object

{"responeData":"{\"access_token\":\"-ERcvFCYY8yRMfHPr_Txg932-7zPw_tbjYLUJi94ytspJD\",\"token_type\":\"Bearer\",\"expires_in\":3600,\"id_token\":\"eY0OSwiZXhwIjoxNDM3NDc4MjQ5fQ.TepPfhrjLbWLYb4RU-h2ewWn8r9iXfCPe6OnTr4EQWFv9aeVrF7h9WKJTrEw9Ug7W3PONLVtoRW4ZOQJTEPKdi4-I8FCGhJ_FyIOxSgxtR4X5ChNPlFEiDiaXgqGCuPrI6F9oSsPGapxodEyqczxZ0XpVi4SxPN1YsywQ2KVuurGcQcvr39pk38v-K54LmAapw6JYlatAxh0RHeuZxWeLLhTdOnSD0IilCyWIc-k7zzg74G-y0JzcE0BwS0J2u1WktujIqF-FTGF4JAXj3cz4iyyqXSKmxgsr2HglbFOyHMEU_enE-lbx8sKrmxkrVZyxftXCy00lRW4Z2qABvPVbw\",\"refresh_token\":\"1/Os1hBHTQ5m_O6jnXRLVRuOAhmNeJaz4asQ6d8lw-9zM\"}"}


I just want to know the significance of id_token property. Will it be useful in making the successive service calls using oauth2.0?

Greg Robbins

unread,
Jul 21, 2015, 9:36:33 PM7/21/15
to gtm-o...@googlegroups.com

It's not part of the OAuth 2 protocol, but it provides additional information about the user. It's parsed in -[GTMOAuth2SignIn fetchGoogleUserInfo].
Reply all
Reply to author
Forward
0 new messages