Dear Carl,

Thank you very much for the reply!  I do not see the "service" parameter on
the URL.  The URL is just showing as:
https://CASEServerName/cas/login?ReturnUrl=%2f

In my web.config file, I have set the url in the "defaultUrl" attribute:

 <authentication mode="Forms">
      <forms loginUrl="https://CASEServerName/cas"; timeout="30"
             defaultUrl="https://myWebServerName/Account/Login.aspx";
             cookieless="UseCookies"
             slidingExpiration="true"
             path="/SPOT/"
             name=".ASPXFORMSAUTH"/>
      <!--path="/ApplicationName/"-->
    </authentication>

Do you know where else should I set the service parameter?


Michelle


On Mon, Sep 8, 2014 at 2:05 PM, Waldbieser, Carl <[email protected]>
wrote:

> Michelle,
>
> When you are sent to the CAS login page, what is the value of the
> `service` parameter on the URL?  That is the URL you will be redirected to
> on successful login.  If that URL is *not* correct, your CAS client is
> sending the wrong service parameter.
>
> If it is correct, you should check to see if your web app is redirecting
> from the service URL to the final URL.
>
> Thanks,
> Carl Waldbieser
> Lafayette College
>
>
> ----- Original Message -----
> From: "Michelle Zhang" <[email protected]>
> To: [email protected]
> Sent: Monday, September 8, 2014 10:42:22 AM
> Subject: [cas-user] Redirect page after authenticated
>
> Hi there,
>
> I'm a .Net developer and now just started to work with CAS.  I have made
> associate changes on the web.config files so now after I typed in the url (
> https://servername), I'm directed to the CAS log in page. After I logged
> in, I'm supposed to be redirected to my default page which specified in
> web.config file:
>   <files>
>         <clear/>
>         <add value="Account/Login.aspx"/>
>       </files>
> However I am always being directed to the same "log in successful" page
> with the url showing as:
>
> https://servername/cas/login?ReturnUrl=%2f
>
> Any suggestions?
> <[email protected]>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>



-- 
Michelle Zhang
Floyd Institute Center for Opinion Research
Franklin & Marshall College
P.O. Box 3003
Lancaster PA 17604-3003
Phone: (717) 358-4764
[email protected]

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to