I am trying to use AWS Amplify as the base for an Outlook Add-In. I have been hopping through a handful of issues to date. Currently I am having issues with Amplify Auth rendering correctly within the add-in.
The following Code:
return (
<div className='ms-welcome'>
<button onClick={() => Auth.federatedSignIn()}>Sign In</button>
<button onClick={checkUser}>Check User</button>
<button onClick={signOut}>Sign Out</button>
</div>
);
Produces this error:
Load denied by X-Frame-Options: https://MY-DOMAIN.auth.us-east-1.amazoncognito.com/login?redi…WLot2C6lAkfPJgsxEsoMTUf_nPTODfKG4&code_challenge_method=S256 does not permit framing.
Is there any way for me to load the Login screen as a Pop Up? I am not sure if what I am trying to do is possible.
Thanks for all the help!