Closed DRSchlaubi closed 5 years ago
But it looks like the Method request is not present in this controller file here
There is no :request
function defined, because the Ueberauth plug is supposed to handle that.
Are you trying to run this in development or in production? Because that will affect how you configure it.
I try to run it in production
Are you running it manually? Using the mirego/accent
Docker image? Something else?
Is there an official one on the Docker hub? Cuz i built it my self using make build and then ran it using docker-compose
Use https://hub.docker.com/r/mirego/accent; you should have better luck than doing it yourself.
You should definetly mention this image somewehre in the readme. Thx for your help will try it
Ok I got the Docker image working but from now on the webapp just says that's currently in Maintenance
Already waited for ember to compile the page
The new way to package the Ember app should fix this issue. The providers are also inferred from the environment variables and evaluated at runtime so function Accent.AuthController.request/2 is undefined
should also be fixed.
I’m closing this, don’t hesitate to reopen an issue if you have other problems setting up the projet 😄
I tried to setup github and google auth and after finding out that you need to actually specify your providers in the
WEBAPP_AUTH_PROVIDERS=google,github
ENV variable I finally got the dummy login disabled. But after that I kept receiving this errorsEven if I don't know anything about elexir I tried to figure out what the issue is and I found this line here very quickly https://github.com/mirego/accent/blob/a800fad039a6f6c46ce4836a505d1457deda1b6b/lib/web/router.ex#L65 But it looks like the Method request is not present in this controller file here https://github.com/mirego/accent/blob/master/lib/web/controllers/auth_controller.ex
So I took a look at the histories but couldn't find any version of those files where that method would be there so I am wondering if it's just a configuration issue my env: