Git Product home page Git Product logo

elixir-auth-google-demo's Issues

Erlang '24.0' isn't supported yet ... Deploy Latest Version of App to Heroku

@SimonLab thanks for merging the update PR #7
Annoyingly, the deploy doesn't work because the buildpack is incorrect (my fault):
https://dashboard.heroku.com/apps/elixir-auth-google-demo/activity/builds/3cb8e486-9ee9-4cbe-9014-b925f6b3eff5
image

-----> Checking Erlang and Elixir versions
       Will use the following versions:
       * Stack heroku-18
       * Erlang 24.0
       * Elixir v1.12.3 
       Sorry, Erlang '24.0' isn't supported yet or isn't formatted correctly. For a list of supported versions, please see https://github.com/HashNuke/heroku-buildpack-elixir#version-support
 !     Push rejected, failed to compile Elixir app.
 !     Push failed

Just checked https://github.com/HashNuke/heroku-buildpack-elixir-otp-builds/blob/master/otp-versions
and it appears the latest available version is 23.3.2:
image

There is a PR to add OTP 24: HashNuke/heroku-buildpack-elixir-otp-builds#166 but it's sitting waiting ... ⏳

I can take a look at this in the evening. Need to do some "work work" now. ⏳

Todo

  • Downgrade OTP version to 23.3.2
  • Create PR
  • Confirm successful deployment to Heroku

This should only take 2 mins but the lowest label we have is T25m ... see: dwyl/labels#99

Remove Webpack

We are getting a build error because WebPack uses arrow functions:
image

We don't need webpack in this project so I'm removing it.

Update to dependency on elixir_auth_github to v1.5 and Update Phoenix to 1.6

With the release of elixir_auth_github at 1.5.0 and Phoenix 1.6 we need to update this demo to confirm everything still works as expected.

Todo

  • Update Elixir to 1.12.3
  • Update to Phoenix 1.6
    • Deletes package.json and unnecessary node.js dependencies! 🎉
  • Update underlying dependency elixir_auth_github to 1.5.0 📦

Here's one we made earlier: dwyl/elixir-auth-github-demo#18

The demo app is currently working on heroku using "old" version: https://elixir-auth-google-demo.herokuapp.com/
image

MatchError Google OAuth Fails due to TLS Version in Cowboy 🤦

Annoyingly, while I'm trying to to update the dependency on auth_plug in auth: dwyl/auth#83 (comment)
I'm seeing this error:

no match of right hand side value: {:error, %HTTPoison.Error{id: nil, reason: {:options, {:sslv3, {:versions, [:"tlsv1.2", :"tlsv1.1", :tlsv1, :sslv3]}}}}}

image

I just confirmed that it's also an issue in this project/repo (elixir-auth-google-demo),
so I'm fixing it here first as this is a much simpler demo app.

As noted in the auth issue, I think updating the version of plug_cowboy should do the trick:

{:plug_cowboy, "~> 2.0"},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.