single signin for multiple application wouldn't work..

Last post 03-22-2007 9:57 PM by etws14. 5 replies.

Sort Posts:

  • single signin for multiple application wouldn't work..

    03-16-2007, 11:33 AM
    • Loading...
    • etws14
    • Joined on 12-22-2006, 9:45 PM
    • Posts 118

    hi everybody,

    I am trying to develop a single signin for more application. i have try to set the validationKey and decryptionKey for both application but at machinekey but it wouldn't work. i try to check user.identity.isauthentication is give me true. why it works like that?

    any suggestion?

    and how i going to do ? is it i need to do the authentication myself and set the cookies myself?

     can anybody give me some example or source code?

    thank you

  • Re: single signin for multiple application wouldn't work..

    03-16-2007, 1:58 PM
    • Loading...
    • Sweeperq
    • Joined on 01-04-2006, 9:58 PM
    • Madison, WI
    • Posts 493

    Are your different applications on different domains (e.g. - www.myapp1.com, www.myapp2.com)?  If yes, the cookie that is set by myapp1 cannot be read by myapp2.  You can use the same login, but the cookie is specific to each domain.

    On the other hand, if your apps on on different subdomains (e.g. app1.myapps.com, app2.myapps.com) you can manually set the cookie domain to .myapps.com so it will work across subdomains.  If a user logs in on one application, it will work across the others as well.

    When your question has been sufficiently answered, please be sure to mark your question as answered. Also, please share your solution if you had to figure it out on your own!
  • Re: single signin for multiple application wouldn't work..

    03-16-2007, 10:05 PM
    • Loading...
    • etws14
    • Joined on 12-22-2006, 9:45 PM
    • Posts 118

    Can i have more detail on that? because regarding the result and solution i found on internet they said we need to set the validatinkey and decryptionkey ourselve. then how i going to generate the key? and they mention the signin and signout function by default is not works so what i need to do to make it works because i have try the sample code it is not works at all.

    and one more question is, is it this sso method work for localhost because i try the code in localhost and seem not work.

    If possible can you give me some basic code needs for this SSO

    Thank you

  • Re: single signin for multiple application wouldn't work..

    03-16-2007, 10:07 PM
    • Loading...
    • etws14
    • Joined on 12-22-2006, 9:45 PM
    • Posts 118
    one more question if i need to work on two different domains, is it possible for SSO?
  • Re: single signin for multiple application wouldn't work..

    03-22-2007, 4:03 AM
    Answer

    I found an article that might be useful for you, it is about SSO using form authentication in the same domain.

    http://forums.asp.net/thread/1390821.aspx

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: single signin for multiple application wouldn't work..

    03-22-2007, 9:57 PM
    Answer
    • Loading...
    • etws14
    • Joined on 12-22-2006, 9:45 PM
    • Posts 118

    thanks for all the reply.

    I get the solution from http://blogs.neudesic.com/blogs/michael_morozov/archive/2006/03/17/72.aspx

    it is very useful, try up the SSO..

     

Page 1 of 1 (6 items)
Microsoft Communities
Page view counter