I'm not familiar with the CAS ASP.NET client but you basically need to make
sure the service URL passed to the CAS server for login and validation is
the same as the URL you browsed to instead of the default URL. This may
require some changes to the CAS client.

-Scott

On 8/21/07, Juan Huerta <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Im using CAS with ASP.NET.
>
> So far, so good. The example given in
> http://www.ja-sig.org/wiki/display/CASC/ASP.NET+Forms+Authentication
> works perfectly and easy to replicate.
>
> My setup is:
> Default Page: default.html
> Login Page: login.html
> Other Page: test.html
>
>
> When browsing http://mypage.com/default.html or just
> http://mypage.com, and If I'm not logged in, I'm redirected to the
> login page. After username and pasword Im redirected to default.html.
> (since is the Default page).
>
> However, if I'm not logged in, and I browse for
> http://localhost/mypage/test.html, Im redirected to the login page
> (good!). But then, after username and password, Im taken back to the
> default page, instead of test.html as I would expected.
>
> How can I make it so Im redirected to the page I was trying to view
> and not the Default one?
>
> I believe the flow is as follows:
> - test.html takes me to login.page.
> - login.page redirects to CAS.
> - After successful authentication, Im redirected back to login.html page.
> - This login page does not have information anymore about where I was
> coming from, therefore, I'm taking to the default page.
>
> any workaround?
>
> thanks,
>
> Juan
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to