The token from IBM has changed recently to the following format.
some string.some string.some string
As you can see, the above contains two dots(.) which the MGW's Pre Authentication filter detects the token to be a JWT token but, since the token is not a JWT token, the MGW is throwing errors as below.
ERROR [ballerina/jwt] - String to JSON conversion failed for JWT header. : error {ballerina/io}GenericError message=unrecognized token '**********************************'
DEBUG [wso2/gateway/src/gateway/utils] - [JWTUtil] ['**********************************] Error while decoding the JWT token
Description
The token from IBM has changed recently to the following format.
some string.some string.some string
As you can see, the above contains two dots(.) which the MGW's Pre Authentication filter detects the token to be a JWT token but, since the token is not a JWT token, the MGW is throwing errors as below.
Steps to Reproduce
Use an opaque token which has dots
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response