I have simple VerifyJWT policy listed below, I am passing ID Token (obtain from google oauth2 playground after using google SSO flow for my user account) in the authorization header(i.e. Bearer ) and seeing below Error. Am I missing something?
Error:
{“fault”:{“faultstring”:“Invalid token: policy(JWT-Verify)”,“detail”:{“errorcode”:“steps.jwt.InvalidToken”}}}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VerifyJWT async="false" continueOnError="false" enabled="true" name="JWT-Verify">
<DisplayName>JWT-Verify</DisplayName>
<Algorithm>RS256</Algorithm>
<Source>request.header.Authorization</Source>
<PublicKey>
<JWKS uri='https://www.googleapis.com/oauth2/v3/certs'/>
</PublicKey>
</VerifyJWT>