peburrows / goth

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

Goth.Token recognize OAuth ID token responses #102

Closed paveltyk closed 3 years ago

paveltyk commented 3 years ago

I've found a workaround for the target_audience claim required by Google Cloud Functions: the same effect can be achieved with the scope JWT claim.

With that in mind, the only change required was to handle the OAuth ID response.

paveltyk commented 3 years ago

Hi,

Just a friendly reminder that this PR waits for your feedback :)

wojtekmach commented 3 years ago

Thanks!