In Mobile Application - We need id_token and refresh_token during Social Login. There is also a requirement to get the latest id_token using the refresh_token.
- Since We are using Non-OIDC client we get refresh_token and id_token during Social Login. But we are not getting the latest id_token using the refresh_token - only latest access_token is returned.
Also, we cannot use /delegation endpoint as mentioned in the above link as it is deprecated in newer clients.
- So we are forced to move to OIDC client.
When we move to OIDC client, as mentioned in the above documentation we are not getting refresh_token during Social Login.
We are caught in-between and we need a solution to get latest id_token using refresh_token during Social Login.