Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MarkusDressel opened this issue Jan 19, 2024 · 2 comments
Open

Comments

@MarkusDressel
Copy link

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

@mstaal
Copy link
Owner

mstaal commented Apr 5, 2024

Hi @MarkusDressel ! I hope to be able to look into this soon - I appreciate your comment. Hopefully, I can soon give this some additional work.

@javierpinaedison
Copy link

Hi @mstaal , I am interested in this feature, as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants