You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have modified the code of the Facebook Strategy class to use https:// or http:// for the URL of the Facebook user image inside the Authentication hash.
I use a new boolean parameter (eg. :secure) passed on provider declaration:
I hope that you can implement something similar for the next version of the gem, it's useful (IMHO) for websites that use SSL to avoid browser complaints about inclusion of unsafe resources! ;)
The text was updated successfully, but these errors were encountered:
I have modified the code of the Facebook Strategy class to use https:// or http:// for the URL of the Facebook user image inside the Authentication hash.
I use a new boolean parameter (eg. :secure) passed on provider declaration:
provider :facebook, ENV['FACEBOOK_KEY'], ENV['FACEBOOK_SECRET'], :secure => true
The code of the Facebook Strategy class that I've changed is in this gist: https://gist.github.com/2014580
I hope that you can implement something similar for the next version of the gem, it's useful (IMHO) for websites that use SSL to avoid browser complaints about inclusion of unsafe resources! ;)
The text was updated successfully, but these errors were encountered: