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

[ui5-middleware-onelogin] refresh cookie when session has ended #588

Open
uxkjaer opened this issue Feb 28, 2022 · 1 comment
Open

[ui5-middleware-onelogin] refresh cookie when session has ended #588

uxkjaer opened this issue Feb 28, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@uxkjaer
Copy link
Contributor

uxkjaer commented Feb 28, 2022

Is your feature request related to a problem? Please describe.
If the user hasn't refreshed the page for a long time, then the session token expires and the onelogin middleware doesn't recognise this and passes the old token making the requests fail
Describe the solution you'd like
A clear and concise description of what you want to happen.
Use the session expiry time to validate whether the token is still valid, if not, then rerun the cookie getter
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Throw an error about the ended session cookie

@petermuessig petermuessig added the help wanted Extra attention is needed label Apr 10, 2023
@petermuessig petermuessig changed the title refresh cookie when session has ended in the ui5-middleware-onelogin [ui5-middleware-onelogin] refresh cookie when session has ended Jul 31, 2023
@petermuessig
Copy link
Member

@uxkjaer - something you wanna follow up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants