Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

assertion_handler: undefined method `[]=' for nil:NilClass (NoMethodError) #45

Open
eni9889 opened this issue Apr 18, 2014 · 0 comments

Comments

@eni9889
Copy link

eni9889 commented Apr 18, 2014

oauth.assertion_handler['facebook.com'] = lambda do |client, assertion, requested_scope|
    facebook = URI.parse('https://graph.facebook.com/me?access_token=' + assertion)
    response = Net::HTTP.get_response(facebook)
    puts response
end

leads to the error: undefined method `[]=' for nil:NilClass (NoMethodError)

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

1 participant