Closed ioiofadhil closed 1 year ago
const [loginWindow, setLoginWindow] = useState(null)
// Open SAML page this way
setLoginWindow(window.open(http://app.biota-ten.test/saml2/${res.data.data.uuid}/login
, `,
width=500,height=500`))
// Close after success loginWindow.close()
Hi, im using ReactJS v.18 for my FE and Laravel 10 for my BE. I'm passing success message to websocket in order for React to receive the success message. But I have no clue how to close the SAML page after it's success? All I see is redirecting to a link.