This will work when making oauth2.session requests. However if I use OAuth2DataLoader it works while I have a valid token, but if the OAuth2DataLoader has to request a re-login and it gets a new token, the first request it fires off afterwards uses the access_token.
Is it possible to make it use the id_token instead?
I need to provide the
id_token
to my API and not theaccess_token
.If I override the extensions that create the
oauth2
signed request like this:This will work when making
oauth2.session
requests. However if I useOAuth2DataLoader
it works while I have a valid token, but if theOAuth2DataLoader
has to request a re-login and it gets a new token, the first request it fires off afterwards uses theaccess_token
.Is it possible to make it use the
id_token
instead?