Hello,
We are trying to use gateway feature of cas. (1) site will try to login user via gateway. (2) If gateway login fail, user can continue to site anonymous. However, user can optionally click on "sign button" to login (for this we want user to login without "gateway" feature) The Problem we are facing is validation service ticket. When we use "DotNetCasClient.CasAuthentication.RedirectToLoginPage()". It redirect user to cas to login, but when dotnetcasclient go back to validation the ticket, it uses the url with "gatewayResponse=true". Is there any setting on dotnetcasclient or CAS, we could use to validate the ticket successfully for this situation ERROR org.jasig.cas.CentralAuthenticationServiceImpl - ServiceTicket [ST-330-QojNTQSaKcdJBDf2JcIj-dev-test2] with service [https://localhost:44300/default.aspx] does not match supplied service [https://localhost:44300/default.aspx?gatewayResponse=true] Webconfig <casClientConfig casServerLoginUrl="https://test:8443/login" casServerUrlPrefix="https://test:8443/" serverName="https://localhost:44300/" notAuthorizedUrl="~/NotAuthorized" cookiesRequiredUrl="~/CookiesRequired" redirectAfterValidation="true" renew="false" singleSignOut="true" gateway="true" ticketValidatorName="Cas20" proxyTicketManager="" serviceTicketManager="DotNetCasClient.State.DBServiceTicketManager,DotNetCasClient" /> the sign-in button: use DotNetCasClient.CasAuthentication.RedirectToLoginPage() Thanks for your help, satnam -- 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]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
