2 Antworten
Hey Vinay,
The use case here is being able to submit a refresh request via a login_hint (as opposed to a refresh token, which is too sensitive) using data within the payload of the initial response. Yes, we can use the user profile endpoint to access a user's email given the user's OpenID. However this requires an extra HTTP request.
The application here is implementing SSO with Salesforce via Varnish, an edge logic and caching software. Extra HTTP requests cause overhead and slow down the client's experience.