Hi @sourav dwivedi ,
Thanks for reaching out.
It is generally safe to use the Microsoft Authentication Library (MSAL) for React and the recommended authorization code flow for implementing SSO in your React SPA. However, it is important to ensure that you are following best practices for securing your application and user data.
Regarding the visibility of the JWT token in network calls, this is expected behavior as the token is used to authenticate the user and authorize access to protected resources. However, you should ensure that your application is using HTTPS to encrypt network traffic and prevent eavesdropping.
Additionally, you should follow best practices for securely storing and handling the JWT token on the client-side, such as using secure cookies or local storage with appropriate expiration times and encryption.
Overall, while there are security considerations to keep in mind when implementing SSO with MSAL for React, it is a widely used and trusted library that can help simplify the process of integrating with Microsoft identity services.
Hope this will help.
Please remember to "Accept Answer" if answer helped you.