Detailed Description
Using the new Web SDK v4 library, when the request is made to the API for the duo login (generated by the createAuthUrl method), a preflight request is made because of the 302 redirect which gets rejected because the OPTIONS method is not allowed. This results in a CORS error in the browser and the client is unable to secure 2FA auth.
Use Case
If the Duo team were able to allow the OPTIONS method for that call or somehow eliminate the need for the preflight check, this version of the client would work for our application.
Workarounds
There is currently no workaround that we can determine because the browser itself fails.