I think the README is outdated here. In that, it says you need to inculde an omniauth.rb file to initialize your social network accounts, but if you look at engine.rb ( https://github.com/bborn/communityengine/blob/rails4/lib/community_engine/engine.rb#L42) you can see that CE automatically adds the middleware for you if you set the `configatron.auth_providers` hash.
On Tue, Mar 11, 2014 at 7:33 PM, jsh <joshua.chu...@gmail.com> wrote: > getting : {"error":{"message":"This authorization code has been > used.","type":"OAuthException","code":100}} when trying to login with > facebook. > > but by skipping omniauth.rb, it works again. > > wondering what's changed in rails4 branch? > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to communityengine+unsubscr...@googlegroups.com. > To post to this group, send email to communityengine@googlegroups.com. > Visit this group at http://groups.google.com/group/communityengine. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To unsubscribe from this group and stop receiving emails from it, send an email to communityengine+unsubscr...@googlegroups.com. To post to this group, send email to communityengine@googlegroups.com. Visit this group at http://groups.google.com/group/communityengine. For more options, visit https://groups.google.com/d/optout.