peburrows / goth

Elixir package for Oauth authentication via Google Cloud APIs
http://hexdocs.pm/goth
MIT License
289 stars 111 forks source link

Joken in v1.0.0 is not working in cloud #51

Closed jdrakes closed 5 years ago

jdrakes commented 5 years ago

I am trying to use GCP system credentials in Google Cloud and am receiving an error ** (UndefinedFunctionError) function Joken.Signer.create/2 is undefined (module Joken.Signer is not available)

amit115532 commented 5 years ago

Same here, happens only in release

peburrows commented 5 years ago

I’ll take a look at this.

jdrakes commented 5 years ago

@peburrows I got it to work but I had to declare joken in my personal apps mix.exs file instead of it being pulled in when goth was compiled. It does not look like goth is requesting it be compiled into the library.

@amit using the fix above should work for now.

peburrows commented 5 years ago

@jdrakes & @amit115532 — can you try v1.0.1-beta I just pushed to Hex? It should address the issue of Joken not being included in releases.

amit115532 commented 5 years ago

Works using 1.0.1-beta :) Thanks! @peburrows

peburrows commented 5 years ago

Just published the fix to Hex as v1.0.1