Closed pablolopezq closed 3 years ago
const authHandler = (err, data) => { localStorage.setItem('x', 1) } <MicrosoftLogin debug={true} redirectUri="http://localhost:3000/dash" tenantUrl={TENANTURL} clientID={CLIENTID}" authCallback={authHandler} forceRedirectStrategy={true} />
Variable on localStorage is not being set, callback is not being called. What could be wrong?
@pablolopezq Thanks for reporting
Could you make sure that's not called with console.log or another debug tool?
Closed as staled
Variable on localStorage is not being set, callback is not being called. What could be wrong?