verifyIdToken is required publickey and alogorithem

Visto 18 veces
Saltar al primer mensaje no leído

cv

no leída,
5 nov 2019, 5:08:095/11/19
a AdWords API and Google Ads API Forum
Hi,

I am doing oAuth Authentication as described over here but not able to verifyId token.
I am using Google Ads PHP Lib version 2.2

$payload = $oauth2->verifyIdToken();

Can you please guide what could be publicKey and algorithms?

I have tried $payload = $oauth2->verifyIdToken('sometext', ['HS256']);

But this will throw me errors.

what is correct way to use $oauth2->verifyIdToken() ?

Thanks,

Google Ads API Forum Advisor Prod

no leída,
5 nov 2019, 14:23:525/11/19
a chirag....@gmail.com,adwor...@googlegroups.com

Hello,

Thank you for writing to us regarding the issue while setting up OAuth authentication. However, could you please confirm if  my understanding is correct and by verifying id token, you want to fetch the refresh token to complete the authentication successfully by following the steps mentioned in the shared guide? Also, could you please provide more details on how you have implemented authentication flow in your application? Have you generated the OAuth2 credentials by following the steps in the shared guide? If you are facing any error, could you please share more context on the error details or message received for me to assist you better? Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UMWG5X:ref

cv

no leída,
5 nov 2019, 23:35:455/11/19
a AdWords API and Google Ads API Forum
Hello Nikisha,

Replied privately.


Thanks,
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos