We've moved discussions to Discord

"Autoloading and Reloading Constants" with Facebook, google and twitter logins

Fadi Yousef
Hello,

I'm trying to enable social logins for facebook, twitter and google.

When I configure the development credentials nothing new appear, so I checked the log files and was able to fix facebook by adding "gem 'omniauth-facebook'" to the gemfile and it worked.

Now, I'm trying to fix it for google and twitter

I tried adding "gem 'omniauth-google-oauth2'" but nothing changed

here is from the development log file

DEPRECATION WARNING: Initialization autoloaded the constants ActionText::ContentHelper and ActionText::TagHelper.

Being able to do this is deprecated. Autoloading during initialization is going
to be an error condition in future versions of Rails.

Reloading does not reboot the application, and therefore code executed during
initialization does not run again. So, if you reload ActionText::ContentHelper, for example,
the expected changes won't be reflected in that stale Module object.

These autoloaded constants have been unloaded.

Please, check the "Autoloading and Reloading Constants" guide for solutions.
 (called from <main> at /home/fadi/development/gustoup/config/environment.rb:5)

Please let me know what is the solution

Notifications
You’re not receiving notifications from this thread.