BrowserAuthError: user_cancelled: User cancelled the flow.
mozzla
5
Reputation points
When I click on login and close the pop-up window that pops up, the following error will appear:
I want to know what caused this error. Is this error the reason why the loginFailed callback did not execute? And how to solve it thank you!!!
Here is my code and version used:
import { Login, FileList } from '@microsoft/mgt-react'
<Login ref={this.mstRef}
loginInitiated={e => console.log("login initiated", e)}
loginFailed={this.MSloginFailed}
loginCompleted={(e)=> void this.loginCompleted(e)}/>
"@microsoft/mgt-element": "^2.10.1",
"@microsoft/mgt-msal2-provider": "^2.10.1",
"@microsoft/mgt-react": "^2.10.1"
Microsoft Teams | Development
4,161 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
25,185 questions
Microsoft Teams | Microsoft Teams for business | Other
10,972 questions
Sign in to answer