I’m making an attempt to combine Google Signal In with out utilizing Firebase. I’m additionally integrating with an exterior backend, and the endpoint requires the accessToken
and refreshToken
. Presently I discovered no method of getting the refreshToken on consumer aspect, so as a substitute I adopted this touch upon Github Concern: https://github.com/flutter/flutter/points/20903#issuecomment-1433172720. the backend now will get despatched the serverAuthCode
, and so they use the Google API to generate the accessToken
and refreshToken
utilizing the net Consumer ID and Consumer Secret.
That is working fantastic on Android, however for iOS I need to create an iOS consumer on the Google Cloud Platform, after which I’m again on the difficulty of getting no entry to the refreshToken
, I additionally can not use the serverAuthCode
and ship it to backend as a result of for iOS consumer, there isn’t a generated Consumer Secret, so they can not use the API on their aspect to generate the tokens.