cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2056
Views
0
Helpful
1
Replies

Testing React app with Duo 2FA

vladbytex
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

DuoKristina
Cisco Employee
Cisco Employee

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.

Duo, not DUO.

View solution in original post

1 Reply 1

DuoKristina
Cisco Employee
Cisco Employee

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.

Duo, not DUO.
Quick Links