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

req.session.passport always gives undefined on other api calls #890

Open
aathirag opened this issue May 13, 2022 · 1 comment
Open

req.session.passport always gives undefined on other api calls #890

aathirag opened this issue May 13, 2022 · 1 comment

Comments

@aathirag
Copy link

I am using passport-saml. In the callback URL req.session. i have passport with user details. But in other api calls it is empty.
Please check this question in stack over flow
https://stackoverflow.com/questions/72003285/passport-req-session-passport-always-gives-undefined-on-other-api-calls

Please help me what am I missing in the code

@dougwilson
Copy link
Contributor

Hi @aathirag nothing seems off in your code, but unfortunately when dealing with things like SSO and cookies, the client calls and domain set up really matters. There us unfortunately not enough information to provide any further guesses than what was on your SO post.

If you can provide all the client code and then list out how to set up the server and how to replicate, we can always attempt to debug though the set up to help determine what is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants