After referring the JWT(id_token) decoding docs
I'm confused whether the major service providers will follow the same technique...
Microsoft oauth2.0 client in git project getUserEmailFromIdToken()
function did not pad the extra =
signs based on the size eg $extrapadds = $jwtTokenSize % 4;
and Yahoo OAuth2.0 openid id_token docs also didn't mention anywhere. not even the basic string substitutes for "-" and "_" as "+" and "/"
is it because these service providers(microsoft and yahoo) didn't follow the standards or did they somehow found a way to avoid such scenarios
Please clarify me... and share a code if possible explaining the right way to decode the JWT id_token