Hello,
I have a service that checks the referer and origin HTTP headers against a whitelist to determine what servers it can communicate with safely. After implementing the Duo Universal Prompt on our test server, this service threw an error. Adding our Duo API host to the whitelist allowed us to authenticate to the service without the error. Turns out the Duo API Host is set in the referer header.
I was under the impression that the authentication webflow looked something like this:
Visit service -> service redirects to CAS -> CAS primary authentication occurs -> CAS redirects to DUO for universal prompt -> Duo redirects back to CAS after authentication -> Finally, CAS redirects user back to service.
It seems like Duo is redirecting users directly to the end service though (hence the duo api host in referer header)? Can someone tell me if that's correct?