-
Notifications
You must be signed in to change notification settings - Fork 1
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
Restore previous session #8
Comments
I understand this is currently blocked at PodOS/core/src/authentication/index.ts Lines 28 to 33 in f82809f
For the standalone netlify version this is not an issue, but I understand the acceptance criteria here have a wider scope. |
Current plan is to implement this at the same time as #27 in Restoring previous session works by identifying that an This works for clientIds because the
The core session restore code does: os.session.handleIncomingRedirect().then(info => {
if (!info.isLoggedIn && oidcIssuer) {
localStorage.setItem(clientId, oidcIssuer);
localStorage.setItem(KEY_CURRENT_URL, window.location.href);
os.session.session.login({
prompt: "none",
oidcIssuer: oidcIssuer,
redirectUrl: redirectUrl,
clientId: clientId
});
}
}); |
The session refresh as described in the story is working and fulfilling all the acceptance criteria. Anything going further should move to a new ticket. |
I'm all for this mostly working solution, but I do want to document here that the acceptance criteria are not met when multiple PodOS apps are served from the same domain. If I am already logged in on another app on the same domain, I will instead be redirected to that app This doesn't affect https://browser.pod-os.org/ as far as I can tell. I've opened a new issue #49 |
The user story only refers to a single app (PodOS browser) and for this the acceptance criteria are met. Thanks for opening the new issue. |
As an authenticated user of PodOS browser I want to be able to use my browser bookmarks and work with mutliple tabs without losing my session, or beeing redirected to other URLs, so that I can rely on core browser functionallity without being distracted.
Acceptance criteria:
out of scope:
The text was updated successfully, but these errors were encountered: