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,profileAny help at all would be much appreciated!
Thanks