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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Hi, John.
Look what happens if we use oa-oauth instead of the omniauth: #16 (comment)
If you use omniauth everything works fine.
Also, if we use oa-oauth, authentication does not work via google.
The reason will be displayed to describe this comment to others. Learn more.
Then we need to just include the gems to make things work properly - Onmiauth as a whole is a pseudo gem (kinda like spree) in the fact it includes a lot. In this case we don't need the bloat that it provides especially the enterprise, ldap, and such. Blogger should work, (can be seen here omniauth / oa-oauth / lib / omniauth / strategies / oauth / blogger.rb ) and you have to use the Google Apps login (their OAuth) i do not have the opened included or supported here.
The reason will be displayed to describe this comment to others. Learn more.
There seems to be a discrepancy between the strategies included when you include omniauth as a whole (all 24 gems it requires) and just oa-oauth of the same version. This is also causing an issue with the Rails 3.1 and 0.70.99 working versions of Spree and nokogiri requirements. Recommend removing Blogger and Dropbox from the lib/spree_social.rb#OAUTH_PROVIDERS array
d9ca5fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, John.
Look what happens if we use oa-oauth instead of the omniauth:
#16 (comment)
If you use omniauth everything works fine.
Also, if we use oa-oauth, authentication does not work via google.
d9ca5fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we need to just include the gems to make things work properly - Onmiauth as a whole is a pseudo gem (kinda like spree) in the fact it includes a lot. In this case we don't need the bloat that it provides especially the enterprise, ldap, and such. Blogger should work, (can be seen here omniauth / oa-oauth / lib / omniauth / strategies / oauth / blogger.rb ) and you have to use the Google Apps login (their OAuth) i do not have the opened included or supported here.
d9ca5fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be a discrepancy between the strategies included when you include omniauth as a whole (all 24 gems it requires) and just oa-oauth of the same version. This is also causing an issue with the Rails 3.1 and 0.70.99 working versions of Spree and nokogiri requirements. Recommend removing Blogger and Dropbox from the lib/spree_social.rb#OAUTH_PROVIDERS array
d9ca5fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
John is right, use omniauth creates big overhead. But we can consider use oa-oauth 0.2.6