Open DavidLSO opened 3 years ago
@DavidLSO ensure you support bot GET
and POST
operations. The routes changes you have imply you have only done GET
.
You should also ensure you have the session middleware configured as documented:
https://github.com/omniauth/omniauth#integrating-omniauth-into-your-rails-api
You'll need to make sure you pass the name of your session key.
config.session_store :cookie_store, key: '_david_slo_session'
I took a look at the omniauth project and saw that this problem is occurring there, I put the link below
https://github.com/omniauth/omniauth/issues/921
@j05h
What are your settings for omniauth
in config/application.rb
?
And what version of Rails are you using? I noticed in that ticket you referenced specific configurations for Rails 6.1
Guys I'm having this problem when trying to perform authentication using lib version
omniauth-bigcommerce (0.3.3)
/config/initializers/omniauth.rb
config/routes.rb
app/controllers/api/v1/omniauths_controller.rb