Closed d-ivashchuk closed 3 years ago
Hi there
Looks like you missed up on the disclaimer in the README:
Aha, missed indeed 🤔 don't know how could I have missed it, it being so prominent 🙈
too bad, I thought I'd be able to cover both local testing and ci parts with this. Thanks for the heads up, and the plug-in is really awesome 👏🏼
Maybe you've personally stumbled on some example using mocked next-auth session with cypress? Otherwise thanks and we can close this!
I haven't stumbled on anything else. It's a tricky thing to work around due to all the anti-fraud protections that these social networks employ for login.
One idea I can give you is that if you can work out the whole two-factor auth via API (to get the code) then you can definitely work around it and script it into this testing plugin.
Goodluck and have fun!
Everything works fine till the point of actual authentication - github asks for verification of the device :D I guess that's pretty not solvable right now? maybe someone knows how to mitigate it.