An expired sign-in now asks to be renewed.
Version 1.36.1 ·
When a server such as Cloudflare or Stripe stops accepting a profile's sign-in, Bastion lets it go and asks you to authorize again, rather than retrying it on every request.
Share this release
An expired sign-in now asks to be renewed. When a server such as Cloudflare or Stripe stops accepting a profile's sign-in, Bastion lets it go and asks you to authorize again, rather than retrying it on every request. https://bastion.mgcrea.io/changelog/1.36.1/
Fixed
A sign-in the server no longer accepts is dropped, and the profile asks to be authorized again. When a server's token endpoint refuses a refresh with
invalid_grant(Cloudflare says "Grant not found", Stripe "Invalid refresh token"), the grant behind it is gone and no refresh can succeed. Bastion kept the dead tokens, so the profile went on reading as authorized, every request tried the same refresh again, and clients saw only the provider's wording. Now the tokens are discarded, the profile shows as needing authorization, and the error names it and says to authorize it again in Bastion. A sign-in completed while the refused request was in flight is kept. Any other refusal, such as a server that is briefly down, still leaves the tokens in place for the next try.