p2 / OAuth2

OAuth2 framework for macOS and iOS, written in Swift.
Other
1.15k stars 277 forks source link

Do not remove refresh_token on server errors #281

Open catalinaturlea opened 6 years ago

catalinaturlea commented 6 years ago

This prevents the user to be logged out with .noRefreshToken when the next refresh token request is triggered in case the error was a server error and not a client error.

balland commented 6 years ago

This should fix https://github.com/p2/OAuth2/issues/238

agg23 commented 4 years ago

Why was this PR never merged? Are there still unopened questions?

ossus-lib commented 8 months ago

Agree @agg23 , this should be revisited.