Skip to content

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

Merged
andrew-propelauth merged 1 commit intomainfrom
feat/refresh-token-min-seconds
Oct 29, 2024
Merged

[FEAT] Add customizable min. seconds before refreshing#32
andrew-propelauth merged 1 commit intomainfrom
feat/refresh-token-min-seconds

Conversation

@itailevi98
Copy link
Copy Markdown

@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
Copy Markdown
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
@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