jimhillr.bsky.social
@jimhillr.bsky.social
Option 2 as the compiler will enforce you handle none. Option one of you deleted the None handling it will still compile.
December 25, 2025 at 7:33 PM
I went down a rabbit hole on this today as well. For desktop/mobile I hope to use Keychain crate. No poc yet there. For web, I plan to go SPA style with no backend. I will store tokens in localStorage since auth0 supports refresh rotation. auth0.com/docs/secure/...
Refresh Token Rotation
Describes how refresh token rotation provides greater security by issuing a new refresh token with each request made to Auth0 for a new access token by a client using refresh tokens.
auth0.com
June 12, 2025 at 7:48 AM