We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in my Rails 3.0 app, I found once I have enforce_ssl set to true in initializer, I am getting this error on request:
NoMethodError (undefined method ssl?' for #<Rack::Request:0x7f973655c588>): .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/router.rb:68:indetect_transport_error' .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/router.rb:13:in parse' .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/provider.rb:103:inparse'
ssl?' for #<Rack::Request:0x7f973655c588>): .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/router.rb:68:in
parse' .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/provider.rb:103:in
I don't see ssl? method in Rack::Request either, is this gem relying on some other gems to provide ssl detection?
The text was updated successfully, but these errors were encountered:
Which version of Rack are you running?
Sorry, something went wrong.
1.4.1
On 8/2/12 2:52 PM, "James Coglan" <reply+i-5887337-4ba8e1dce65d881159977172135c0cd88305e0ea-852113@reply.gith ub.com> wrote:
Which version of Rack are you running? Reply to this email directly or view it on GitHub: #34 (comment)
Reply to this email directly or view it on GitHub: #34 (comment)
The method definitely exists, and has done for a long time.
https://github.com/rack/rack/blob/1.4.1/lib/rack/request.rb#L84
You ough to check that that file is being loaded correctly.
Closing. I'm fairly sure this is not an issue with oauth2-provider. If the method is not defined, there is something else wrong with your environment.
No branches or pull requests
in my Rails 3.0 app, I found once I have enforce_ssl set to true in initializer, I am getting this error on request:
NoMethodError (undefined method
ssl?' for #<Rack::Request:0x7f973655c588>): .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/router.rb:68:in
detect_transport_error'.rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/router.rb:13:in
parse' .rvm/gems/ruby-1.8.7-p302@aspen/bundler/gems/oauth2-provider-0d9fcdf58b56/lib/oauth2/provider.rb:103:in
parse'I don't see ssl? method in Rack::Request either, is this gem relying on some other gems to provide ssl detection?
The text was updated successfully, but these errors were encountered: