Lasse Skindstad Ebert

Results 24 comments of Lasse Skindstad Ebert

I have the same problem. Like @imranismail this only happens some times to me. It seems to happen when the app has been running for a while (days). I have...

I figured out that my problem was that I was running two different applications on the same server, both deployed with distillery. They used the same EPMD port, which clashed...

@jfreeze In `vm.args`: ``` -env ERL_EPMD_PORT 4370 ``` And I also needed to set it explicit when starting the application (not sure why because the distillery binary should already load...

@bitwalker That sounds amazing. I will make a test as soon as possible. For the record: My setup works fine with distillery 2.0.12 (deployed to multiple production units).

@bitwalker It works with the `2.0.x` branch :tada: Only difference in my project from 2.0.12 is that I have to create the `$RELEASE_MUTABLE_DIR` before starting the application (which makes sense,...

I have the same problem. I override the `redirect_uri`. The callback happens and looks correct, but the `request.env["omniauth.auth"]` is `nil`

This is duplicate of https://github.com/omniauth/omniauth/issues/618, which has more history. Should probably just close this issue.

I'm still looking for a workaround. In my case I want to have multiple providers point to the same callback-url, which is not possible with the workaround given here.

I found a solution: Use both `redirect_uri` and `callback_path`, which should match: ```ruby Rails.application.config.middleware.use OmniAuth::Builder do provider :google_oauth2, client_id, client_secret, name: :my_custom_name, redirect_uri: "https://myapp.com/non-default/path", callback_path: '/non-default/path' end ``` You still...

I'm not experiencing this issue. Tesla 1.2.1 Hackney 1.15.1 Using it like this: ```elixir middleware = [ {Tesla.Middleware.Timeout, timeout: timeout} ] client = Tesla.client(middleware) Tesla.get(client, url, opts) ``` I get...