Omniauth and jwt_authenticatable rails 7 api
14:37 10 Apr 2023

I am trying to add to the Rails API the ability to handle social signins through the mobile application, and while adding omniauth, I am having an issue with my JWT and devise that has already been setup and working. This is triggering the following error:

unexpected ',', expecting => (SyntaxError)
         :omniauthable, omniauth_providers: [:google...

This error occurs only when both methods are present, but both independently work fine.

Any ideas or suggestions would be greatly appreciated.

ruby-on-rails ruby-on-rails-7 rails-api