Hello,

Is anyone delegating CAS authentication to Azure AD? I am attempting to 
delegate CAS authentication to Azure AD / OpenId Connect using the 
pac4j-webflow support library.

I cannot seem to find a parameter that allows me to specify the 
redirect_uri. CAS redirects correctly to microsoftonline for 
authentication, but microsoftonline will not redirect back to CAS due to 
the following error: "The reply url specified in the request does not match 
the reply urls configured for the application". The redirect_uri received 
by microsoftonline is https://cas.example.org:8443/cas/login/cas

I tried to specify it using customParams.redirectUri, but this did not 
work. I cannot seem to find anything on the mailing list, so I'm probably 
missing something really basic.

Here is my config so far:

cas.authn.pac4j.oidc[0].azure.id=xxxxxxxxxxxx
cas.authn.pac4j.oidc[0].azure.secret=xxxxxxxxxxx
cas.authn.pac4j.oidc[0].azure.clientName=cas
cas.authn.pac4j.oidc[0].azure.autoRedirect=true
cas.authn.pac4j.oidc[0].azure.tenant=xxxxxxxxxxx
cas.authn.pac4j.oidc[0].azure.scope=openid,email,profile
cas.authn.pac4j.oidc[0].azure.customParams.redirectUri
=https://app.mydomain.com

Any help at all would be much appreciated!

Thanks

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/334749fe-8009-4cbf-811f-3e0ac721de86%40apereo.org.

Reply via email to