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

Session-file-store not getting all the data from MSAL #107

Open
peter-kaagman opened this issue Jul 27, 2023 · 0 comments
Open

Session-file-store not getting all the data from MSAL #107

peter-kaagman opened this issue Jul 27, 2023 · 0 comments

Comments

@peter-kaagman
Copy link

Not at all sure if it's appropriate to post my findings here. Sorry if it isn't. But here it goes.

I was working with an Express/MSAL example from MS Learning and had the session in memory with express-session. Being annoyed with having te signin at every node restart I decided to use session-file-store.

Most of the time it does not work. After a signin only a part of data is stored. Things like the token-cache and account info are missing from the session. On occasion I do get a valid session. Say once every 10 tries.

Posted a question about this on Stackoverflow (no replies as of now)

If you would like to see how I implemented the module: the app is here on github, I've commented session-file-store out in favor of better-sqlite3-session-store.

Looking at the last updates I was wondering if this module is still alive. Looks like the last update is over a year ago. Would be a shame, seems to be an elagant solution.

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

No branches or pull requests

1 participant