05-30-2017 05:07 AM
Hello,
I currently develop a ReactJS app that use Duo as 2FA library. I want to add some E2E tests on my codebase and i want to know if exists a mechanism to automatically login with Duo without accepting a Push request or enter a Passcode just for testing purpose.
Solved! Go to Solution.
05-30-2017 12:27 PM
Sorry, we don’t have a testing endpoint in our cloud service to permit this.
You could mock a Duo Push success and fail response in your test and proceed in testing your app’s handling of that.
05-30-2017 12:27 PM
Sorry, we don’t have a testing endpoint in our cloud service to permit this.
You could mock a Duo Push success and fail response in your test and proceed in testing your app’s handling of that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide