Server-level COOP prevents parent from monitoring popup.location, so loginPopup never resolves in parent. Redirect flow is the correct solution: page navigates to Microsoft, returns with #code, and handleRedirectPromise exchanges the idToken with backend. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
158 B
TypeScript
Executable file
5 lines
158 B
TypeScript
Executable file
import { createRoot } from 'react-dom/client'
|
|
import App from './App.tsx'
|
|
import './index.css'
|
|
|
|
createRoot(document.getElementById("root")!).render(<App />);
|