react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 877 forks source link

How do I get new tokens? getTokens() always returns the old and expired one #1234

Closed castelvani closed 5 months ago

castelvani commented 5 months ago

How do I get new tokens? After the signin the token expires in one hour and I can't refresh it because there is no refresh tokens on the response. Also when I call getTokens() to get a new non expired it always returns the first token that is already expired. Can someone help me?

github-actions[bot] commented 5 months ago

:wave: @castelvani, sorry you're having an issue. As the issue template explains, we require that you provide a runnable example that reproduces your issue (please read the issue template). The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug. Please create a new issue with this and we'll be happy to review it! If you're hitting a hard wall, you may consider paid assistance.