Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

feat(refresh token): Add refresh token to the credential dictionary #31

@MarkusDressel

Description

@MarkusDressel

Hi,
thanks for the great work making OIDC available in streamlit.
I would like to request to add the refresh token (if requested and available) also to the credentials.
I see already in the local session storage (Browser), that when requesting offline_access scope, the respective refresh token is already stored in the storage but it is not passed through the object in streamlit/python.

This is very important to have for example changing the scope of the token from the frontend or get a new token in case the old one is expired. Should also not hard to be implemented since MSAL is already successfully writing it in the session storage.

Related issues:
#9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions