vscode edge devtools Code bypass autho

So I use vscode edge devtools Code with in VsCode so trying to find out away to bypass autho to I can use the tool on my main page. As you can see I am a newbie.
No description
11 Replies
harsh-harlequin
harsh-harlequin2y ago
If you wanna bypass authorization, you can remove authProvider from <Refine> component. or you can return true from authProvider.checkAuth function
const authProvider = {
// ...
checkAuth: async () => true;
}


<Refine authProvider={authProvider} />
const authProvider = {
// ...
checkAuth: async () => true;
}


<Refine authProvider={authProvider} />
statutory-emerald
statutory-emerald2y ago
Thanks is this the only way if using this tool or you don't use this tool at all?
harsh-harlequin
harsh-harlequin2y ago
You mean edge devtools ?
statutory-emerald
statutory-emerald2y ago
Yes but it inside vscode
harsh-harlequin
harsh-harlequin2y ago
what is the problem ? edge devtools should not be a problem 🤔
statutory-emerald
statutory-emerald2y ago
Ok 1) open devtool in vscode 2) cpen at front page to login. Like this picture.
statutory-emerald
statutory-emerald2y ago
No description
statutory-emerald
statutory-emerald2y ago
3) once click to login. Pop will not open .. I can login on my browser but not inside VsCode.
harsh-harlequin
harsh-harlequin2y ago
i'm not familiar with edge devtools but it's likely that the security settings prevent devtools from opening the Google popup. However, it's important to note that this isn't a problem specific to refine. refine behaves like any other JavaScript or React application in this regard. I hope that someone from the community who is familiar with devtools can help in this situation
statutory-emerald
statutory-emerald2y ago
Yep thanks your 1st answer will work. Sorry if I keep asking about not refine but Thanks for getting back to me so quickly. We can make this resolve now.
harsh-harlequin
harsh-harlequin2y ago
I'm glad to hear that 🚀 I believe it's okay to ask any question but the core team may not know about issues other than refine. In such cases, I hope the community will respond 🙏