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

You must provide a session to use OmniAuth. #269

Closed
rbq opened this issue Apr 17, 2011 · 2 comments
Closed

You must provide a session to use OmniAuth. #269

rbq opened this issue Apr 17, 2011 · 2 comments

Comments

@rbq
Copy link

rbq commented Apr 17, 2011

OmniAuth::NoSessionError at /
You must provide a session to use OmniAuth.
file: strategy.rb location: call! line: 30

I'm using Padrino 0.9.23, OmniAuth 0.2.2 and use Rack::Session::Cookie.

(With OmniAuth 0.1.x everything works as expected.)

@mbleigh
Copy link
Contributor

mbleigh commented Apr 21, 2011

Did you include OmniAuth after the session middleware? OmniAuth raises that error when it looks for env['rack.session'] and finds nothing.

@rbq
Copy link
Author

rbq commented Apr 23, 2011

You're right, thanks! I just didn't notice my fault because in 0.1.x it worked in either order.

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

2 participants