I need to change the openid issuer
"issuer": "https://gate.domain.com:443/oauth2/token"
to this
"issuer": "https://api.domain.com",
Also change the JWT iss from
"iss": "wso2.org/products/am"
to
"iss": "https://api.domain.com"
I see in the api-manager.xml file a tokenEndPoint tag. I'm not sure altering that end point is the correct why to achieve what I want.
I read in this stackoverflow question, which has a similar issue. It said to alter this tag in identity.xml
<IDTokenIssuerID>${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/token</IDTokenIssuerID>
I've tried altering in both places and my JWT iss claim still return "wso2.org/products/am"