Ueberauth OAuth2 Authentication for Elixir project with LINE Messenger

Hello Elixir fellows!
Released yesterday first version of the ueberauth_line package for oauth authetication for your elixir project.
Installation and using is pretty straightforward, you can use any of other Ueberauth tutorials, like Ueberauth for Facebook.

Tricky thing in using LINE OAuth is setting up LINE Channel and handling errors because they are now really readable (they put error codes in the URL, so keep an eye on your browser address bar).
Be sure you went every step described here in the LINE web login settings very carefully.

Please note that LINE doesn’t provide user email address so we need to mimic it with the LINE user ID and if you need an email for user you’ll need to implement additional step of adding an email.

Deploy Phoenix/Elixir project issue: npm ERR! TypeError: Object.keys called on non-object

When you deploy you phoenix/elixir project on production and something goes wrong it is very useful to make a git clone of your project directly on production server and try to run it there via iex -S mix to see what’s wrong. This is actually no really good practice but one of the fastest options.
Continue reading “Deploy Phoenix/Elixir project issue: npm ERR! TypeError: Object.keys called on non-object”