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

fix(api) add api token expiry #124

Merged
merged 2 commits into from
Jun 18, 2024
Merged

fix(api) add api token expiry #124

merged 2 commits into from
Jun 18, 2024

Conversation

mawandm
Copy link
Contributor

@mawandm mawandm commented Jun 18, 2024

This introduces expiry for the API service generated token. By setting the env variable NESIS_API_MEMCACHE_SESSION_EXPIRY, we are able to control the expiry of the API token. We've defaulted it to 30 minutes.

Closes #78

@mawandm mawandm marked this pull request as ready for review June 18, 2024 00:19
@mawandm mawandm changed the title feat(api) add api token expiry fix(api) add api token expiry Jun 18, 2024
@mawandm mawandm merged commit 4a46ed7 into main Jun 18, 2024
5 checks passed
@mawandm mawandm deleted the 78-add-api-session-timeout branch June 18, 2024 00: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.

[BUG] User session never timesout
1 participant