Jeremiah,

I see a series of 302s from duo to service with a stop at cas in between.
The flow you describe is correct.
I guess since the last 200 before the service was a duo api site, that is what 
is in the referer header key.

Ray

On Tue, 2023-01-17 at 07:58 -0800, Jeremiah Garmatter wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

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?



-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/defd734d03abc1d99d57f616c9a3f1aa8680b446.camel%40uvic.ca.

Reply via email to