London Escorts sunderland escorts 1v1.lol unblocked yohoho 76 https://www.symbaloo.com/mix/yohoho?lang=EN yohoho https://www.symbaloo.com/mix/agariounblockedpvp https://yohoho-io.app/ https://www.symbaloo.com/mix/agariounblockedschool1?lang=EN
3.1 C
New York
Wednesday, December 4, 2024

Flutter Google Sign up (with out Firebase) and get accessToken and refreshToken for each Android and iOS


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.

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com