I am unable to obtain refresh token after logging in via social connections, even if
offline_access scope is included. The
refresh_token grant type is enabled in application settings. I am having this issue with both the Android SDK and the iOS SDK.
A snippet of the code I am using to trigger social login:
WebAuthProvider.login(account) .withScope("openid profile email offline_access") .withConnection("google-oauth2") .withAudience("myaudience") .start(context, callback)
Any help is much appreciated!