asgardeo / asgardeo-auth-react-sdk

To maintain the implementation of Asgardeo React authentication SDK
Apache License 2.0
40 stars 91 forks source link

Uncaught run time error when sign out #224

Open Sachin-Mamoru opened 6 months ago

Sachin-Mamoru commented 6 months ago

Describe the issue: Uncaught run time occurs due to idtoken decode [1] method call. Reproducible in the petdesk app [2], without craco.config.js. It was added to by pass the uncaught error.

[1] https://github.com/asgardeo/asgardeo-auth-js-core/blob/9769b04bd5fb274d21a8c59ebf8318933e896a1b/lib/src/helpers/crypto-helper.ts#L145 [2] https://github.com/wso2/samples-is/tree/master/petcare-sample/b2c/web-app/petdesk