{"action":"opened","issue":{"url":"https://api.github.com/repos/isaacsanders/omniauth-stripe-connect/issues/37","labels_url":"https://api.github.com/repos/isaacsanders/omniauth-stripe-connect/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/isaacsanders/omniauth-stripe-connect/issues/37/comments","events_url":"https://api.github.com/repos/isaacsanders/omniauth-stripe-connect/issues/37/events","html_url":"https://github.com/isaacsanders/omniauth-stripe-connect/issues/37","id":100954742,"number":37,"title":"Uploaded Stripe app to Heroku now i get error omniauth: (stripe_connect) Authentication failure! invalid_credentials: OAuth2::Error, invalid_client: No such API key: Bearer","user":{"login":"farhansyed9","id":9581815,"avatar_url":"https://avatars.githubusercontent.com/u/9581815?v=3","gravatar_id":"","url":"https://api.github.com/users/farhansyed9","html_url":"https://github.com/farhansyed9","followers_url":"https://api.github.com/users/farhansyed9/followers","following_url":"https://api.github.com/users/farhansyed9/following{/other_user}","gists_url":"https://api.github.com/users/farhansyed9/gists{/gist_id}","starred_url":"https://api.github.com/users/farhansyed9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farhansyed9/subscriptions","organizations_url":"https://api.github.com/users/farhansyed9/orgs","repos_url":"https://api.github.com/users/farhansyed9/repos","events_url":"https://api.github.com/users/farhansyed9/events{/privacy}","received_events_url":"https://api.github.com/users/farhansyed9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T07:45:18Z","updated_at":"2015-08-14T07:45:18Z","closed_at":null,"body":"i tested my app locally and works fine, but then i deployed it to Heroku and no im running into issues. \r\ni get this error after i skip the form for redirection:\r\n ERROR -- omniauth: (stripe_connect) Authentication failure! invalid_credentials: OAuth2::Error, `<invalid_client: No such API key: Bearer\r\n2015-08-14T07:37:34.345409+00:00 app[web.1]: {\r\n2015-08-14T07:37:34.345425+00:00 app[web.1]:   \"error\": \"invalid_client\",\r\n2015-08-14T07:37:34.345427+00:00 app[web.1]:   \"error_description\": \"No such API key: Bearer\">`\r\n\r\nThis is what my files look like \r\n\r\nusing gem figaro for handling the keys. \r\n\r\napplication.yml: \r\n`<STRIPE_SECRET: sk_test_***************\r\nSTRIPE_CONNECT_CLIENT_ID: ca_**************>`\r\n\r\nomniauth.rb: \r\n\r\n`<Rails.application.config.middleware.use OmniAuth::Builder do\r\n  provider :stripe_connect, ENV['STRIPE_CONNECT_CLIENT_ID'], ENV['STRIPE_SECRET']\r\nend>`\r\n\r\nsecrets.yml:\r\n`<STRIPE_SECRET: sk_test_***************\r\nSTRIPE_CONNECT_CLIENT_ID: ca_**************>`\r\n\r\n\r\n\r\n"}}