cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2044
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.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links