Skip to content

[FEAT] Add customizable min. seconds before refreshing #32

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

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

itailevi98
Copy link

@itailevi98 itailevi98 commented Oct 11, 2024

Background

This PR adds a new prop to the client that will allow users to control how often they should refresh their token on a focus/online event. Once this is published, support will be added to the @propelauth/react library for it.

All smoke tests worked as expected, where on focus events, the /refresh_token endpoint was called only after that # of seconds passed.

Copy link
Contributor

@andrew-propelauth andrew-propelauth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andrew-propelauth andrew-propelauth merged commit a3bc85f into main Oct 29, 2024
1 check passed
@andrew-propelauth andrew-propelauth deleted the feat/refresh-token-min-seconds branch October 29, 2024 15:55
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

Successfully merging this pull request may close these issues.

2 participants