ui5-community / ui5-ecosystem-showcase

A repository showcasing the UI5 tooling extensibility to combine OSS tools for UI5 application development.
https://ui5-community.github.io/ui5-ecosystem-showcase/
Other
192 stars 93 forks source link

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

Open uxkjaer opened 2 years ago

uxkjaer commented 2 years ago

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 commented 1 year ago

@uxkjaer - something you wanna follow up?