Forum Discussion
ywatanabe888
Feb 14, 2024Copper Contributor
How to securely pass a logged in Email from a sharedpoint web part to an external API
I want to pass the login Email address from the SharePoint Framework client-side web part (React) to the AWS RestAPI endpoint without tampering.
How can I do this?
I am thinking that I can do this by passing a JWT token, but is it possible?
- Hi, take a look about Connect to Azure AD-secured APIs in SharePoint Framework solutions
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient . Configure AWS RestAPI with Entra ID is possible https://awskarthik82.medium.com/how-to-integrate-azuread-b2c-with-aws-api-gateway-jwt-authorizer-26d7534399a 🙂