schibsted / account-sdk-android

⛔️ DEPRECATED Schibsted Account SDK for Android
https://schibsted.github.io/account-sdk-android/
MIT License
14 stars 8 forks source link

Treat 'invalid_grant' token response as logout signal. #481

Closed zamzterz closed 3 years ago

zamzterz commented 3 years ago

When the refresh token is invalid (expired, user has logged out, etc), 400 Bad Request with "error": "invalid_grant" is returned as response. So we should treat that as a logout.