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
When invoking internal REST APIs using a JWT token following error is printed in the wso2carbon.log
[2023-01-24 15:34:18,086] ERROR - OAuthJwtAuthenticatorImpl JWT token issuer validation failed. Reason: Issuer present in the JWT (https://localhost:9443/oauth2/token) does not match with the token issuer ([])
[2023-01-24 15:34:18,086] ERROR - OAuthJwtAuthenticatorImpl Invalid JWT token :...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1FG8onHg
Steps to Reproduce
Create an application in the devportal and generate keys.
Generate a JWT token with the required scopes for invoking an internal REST API.
Description
When invoking internal REST APIs using a JWT token following error is printed in the wso2carbon.log
[2023-01-24 15:34:18,086] ERROR - OAuthJwtAuthenticatorImpl JWT token issuer validation failed. Reason: Issuer present in the JWT (https://localhost:9443/oauth2/token) does not match with the token issuer ([])
[2023-01-24 15:34:18,086] ERROR - OAuthJwtAuthenticatorImpl Invalid JWT token :...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1FG8onHg
Steps to Reproduce
eg: https://localhost:9443/api/am/publisher/v3/apis/{apiId}/documents
{
"code": 401,
"message": "",
"description": "Unauthenticated request",
"moreInfo": "",
"error": []
}
Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: