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.
11 Replies
xenial-black•2y ago
If you wanna bypass authorization, you can remove
authProvider
from <Refine>
component.
or you can return true from authProvider.checkAuth
function
like-goldOP•2y ago
Thanks is this the only way if using this tool or you don't use this tool at all?
xenial-black•2y ago
You mean
edge devtools
?like-goldOP•2y ago
Yes but it inside vscode
xenial-black•2y ago
what is the problem ?
edge devtools
should not be a problem 🤔like-goldOP•2y ago
Ok 1) open devtool in vscode 2) cpen at front page to login. Like this picture.
like-goldOP•2y ago
like-goldOP•2y ago
3) once click to login. Pop will not open ..
I can login on my browser but not inside VsCode.
xenial-black•2y 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 situationlike-goldOP•2y 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.
xenial-black•2y 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 🙏