You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to hit gmail api (to send mails) I had to provide scopes and IMPERSONATED_ACCOUNT_EMAIL in claims list.
The documentation say for Goth.Token.fetch/1 :
:scopes - the list of token scopes, defaults to ["https://www.googleapis.com/auth/cloud-platform"] (ignored if :claims present)
I was not able to get it working using Goth.Token.fetch/1 only by using old Goth.Token.for_scope/2 function.
Is there any way allow provide both claims and scopes into Goth.Token.fetch/1?
The text was updated successfully, but these errors were encountered:
When I tried to hit gmail api (to send mails) I had to provide
scopes
andIMPERSONATED_ACCOUNT_EMAIL
inclaims
list.The documentation say for
Goth.Token.fetch/1
:I was not able to get it working using
Goth.Token.fetch/1
only by using oldGoth.Token.for_scope/2
function.Is there any way allow provide both
claims
andscopes
intoGoth.Token.fetch/1
?The text was updated successfully, but these errors were encountered: