Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

OAuth2 RefreshSessionAsync does not update Access/Refresh tokens for current session. #343

Description

@drasticactions

I need to step through it, but there is either a bug in OdicClient where calling it doesn't update the existing OidcClient access and refresh token, causing any future call to fail since it will try to use the original access token, then use the refresh token to fix it, then fail since it was already used.

You don't have to call this method when using OAuth, you can rely on AtProto.SessionUpdated to tell you when the token is updated, then save and reuse it for future sessions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions