peburrows / goth

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

Add sub field to claim set #12

Closed kenzhengguan closed 6 years ago

kenzhengguan commented 7 years ago

Right now I am woking on google drive api and I need to delegate domain-wide authority to the service account. The document is here. https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority

So if you need sub field, you could just edit the credential.json file and add the sub field to it. Otherwise, you could just leave it as what it used to be.

peburrows commented 6 years ago

Closing as support was added via #28