stormy-gold
stormy-gold16mo ago

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
dependent-tan
dependent-tan16mo 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} />
stormy-gold
stormy-gold16mo ago
Thanks is this the only way if using this tool or you don't use this tool at all?
dependent-tan
dependent-tan16mo ago
You mean edge devtools ?
stormy-gold
stormy-gold16mo ago
Yes but it inside vscode
dependent-tan
dependent-tan16mo ago
what is the problem ? edge devtools should not be a problem 🤔
stormy-gold
stormy-gold16mo ago
Ok 1) open devtool in vscode 2) cpen at front page to login. Like this picture.
stormy-gold
stormy-gold16mo ago
No description
stormy-gold
stormy-gold16mo ago
3) once click to login. Pop will not open .. I can login on my browser but not inside VsCode.
dependent-tan
dependent-tan16mo 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
stormy-gold
stormy-gold16mo 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.
dependent-tan
dependent-tan16mo 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 🙏