Implement session token refresh #71
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
puregarlic/microclimate#71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After a successful ATProto OAuth login, we discard the ATProto tokens and rely exclusively on the microclimate JWT for authentication. That JWT expires after 24 hours, so the client needs a way to renew it without repeating the full browser-based OAuth flow.
Add a
RefreshSessionRPC toAuthServicethat:OAuthSessionin the auth store by DIDThe client should call this proactively before expiry (e.g. on app resume / reconnect).
Related to #9.