amplify-appsync-simulator giving error in OpenIdConfig Issuer trailing '/' #6463
Labels
api-graphql
Issues related to GraphQL resources in the API category
bug
Something isn't working
pending-release
Code has been merged but pending release
Getting the error when trying to connect through OpenIdConfig when my Issuer has trailing '/'
{"errors":[{"errorType":"UnauthorizedException","message":"UnauthorizedException: Invalid JWT token"}]}
Digging into the code,just found out isValidOIDCToken function inside helpers is stripping the trailing '/' from the issuer & then matching it against token.iss
Same config with trailing '/' works just fine with my production AppSync deployment on aws
The text was updated successfully, but these errors were encountered: