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

Update DbAuthMiddleware to refresh session data via /me endpoint #996

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

apps-caraga
Copy link
Contributor

@apps-caraga apps-caraga commented Oct 22, 2023

Refer to 935

Add new property dbAuth.updateSessionData to indicate whether the session data will be updated every x minutes. Also new session key (updatedAt) to record the time of creation/updating of session

Add new property dbAuth.refreshSession to indicate whether the session data will be updated every x minutes. Also new session key (updatedAt) to record the time of creation/updating of session
dbAuth.updateSessionData - Defaults to zero (session data is not updated). If value is > 0, this will be the number of minutes to check after which the session data is updated when the /me end-point  is called
Updated loginAfterRegistration block to include updatedAt key to the session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant