none
How to imlement Username/Password Authentication/Authorization with session id? RRS feed

Answers

  • Hi,

    If I do not misunderstand you, then maybe you can try to use the Forms Authentication, the reasons why I want to do that is because then you do not have to litter your API with username and password for every method. And once established the user, it will generate an authorization cookie, and that cookie will be consumed by the client, and then re-submitted with requests.

    For more information, please try to refer to:
    #Securing WCF with Forms Authentication
    http://dotnetspeak.com/2012/01/securing-wcf-with-forms-authentication .


    Best Regards,
    Amy Peng

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, June 4, 2014 9:46 AM
    Moderator