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

lusca requires req.session #133

Open
matharuajay opened this issue Sep 16, 2019 · 0 comments
Open

lusca requires req.session #133

matharuajay opened this issue Sep 16, 2019 · 0 comments

Comments

@matharuajay
Copy link

Hi,

I am trying to setup a backend code which uses Lusca for security. The code is hosted on EC2 instance and it needs to read some values from AWS Secret Manager. To read the value from secret manager i've to use STS AssumeRole first and read the value, which works fine. But that breaks Lusca somehow.

If I use Lusca with AWS STS AssumeRole i get this error,
Error: lusca requires req.session to be available in order to maintain state
And if I remove the code to AssumeRole lusca works fine.

I noticed when i use AWS STS the req obj header does not contain session attribute.

Can anyone help me with this?

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