We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guys I'm having this problem when trying to perform authentication using lib version omniauth-bigcommerce (0.3.3)
omniauth-bigcommerce (0.3.3)
Rails.application.config.middleware.use OmniAuth::Builder do provider :bigcommerce, ENV['BC_CLIENT_ID'], ENV['BC_CLIENT_SECRET'], { scope: "store_payments_methods_read store_stored_payment_instruments_read_only store_v2_content_read_only store_v2_customers_read_only store_v2_default store_v2_orders_read_only store_v2_products_read_only store_v2_transactions_read_only users_basic_information", client_options: { site: 'https://login.bigcommerce.com' } } end
get '/oauth' => 'omniauths#callback' get '/load' => 'omniauths#load' get '/uninstall' => 'omniauths#uninstall'
class Api::V1::OmniauthsController < Api::V1::BaseController skip_before_action :validate_access_token, only: [:callback, :uninstall, :load] def callback auth = request.env["omniauth.auth"] # nill ever end end
The text was updated successfully, but these errors were encountered:
@DavidLSO ensure you support bot GET and POST operations. The routes changes you have imply you have only done GET.
GET
POST
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'
Sorry, something went wrong.
I took a look at the omniauth project and saw that this problem is occurring there, I put the link below
omniauth/omniauth#921
@j05h
What are your settings for omniauth in config/application.rb?
omniauth
config/application.rb
And what version of Rails are you using? I noticed in that ticket you referenced specific configurations for Rails 6.1
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: