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

No session in auth scheme #111

Closed
odensc opened this issue Dec 21, 2016 · 3 comments
Closed

No session in auth scheme #111

odensc opened this issue Dec 21, 2016 · 3 comments
Assignees

Comments

@odensc
Copy link
Contributor

odensc commented Dec 21, 2016

When trying to access a session variable with req.yar.get in an auth scheme, the session store is empty.

Is this intended behavior? I need to access the session in my authentication method to check if the request has a valid access token.

@mark-bradshaw
Copy link
Contributor

Can you post a simplified example of what you're doing?

@mark-bradshaw mark-bradshaw self-assigned this Dec 21, 2016
@odensc
Copy link
Contributor Author

odensc commented Dec 21, 2016

Something seems to have changed and it works now. I'll reopen the issue if it breaks again. Sorry for the inconvenience.

@odensc odensc closed this as completed Dec 21, 2016
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants