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
I am using Google Gsi for Google login with the callback resonsding client_id, credential, select_by. I sent it to the PHP server and using JWT for decode it but not help.
This is the code: $decode = JWT::decode($credential, $key, array('HS256'));
which $key is getting from Google Console "Client Secret" when create the credentials right?
I also give it a try with $client->verifyIdToken($credential); but it;s also not works. The error always appear is "Wrong number of segments"
Please help me solve it.
The text was updated successfully, but these errors were encountered:
Hello there,
I am using Google Gsi for Google login with the callback resonsding client_id, credential, select_by. I sent it to the PHP server and using JWT for decode it but not help.
This is the code:
$decode = JWT::decode($credential, $key, array('HS256'));
which $key is getting from Google Console "Client Secret" when create the credentials right?
I also give it a try with $client->verifyIdToken($credential); but it;s also not works. The error always appear is "Wrong number of segments"
Please help me solve it.
The text was updated successfully, but these errors were encountered: