Using OpenID with WCF and no browser, is it possible?

后端 未结 3 818
日久生厌
日久生厌 2020-12-29 12:32

From most of the reading I\'ve done on OpenID, it seems a browser may be required. I\'m writing a WCF app and wanted to use OpenID as the authentication method, but my app

3条回答
  •  一整个雨季
    2020-12-29 13:30

    From reading the OpenID Authentication 2.0 Specification, I seem to have arrived at an answer:

    While nothing in the protocol requires JavaScript or modern browsers, the authentication scheme plays nicely with "AJAX"-style setups. This means an end user can prove their Identity to a Relying Party without having to leave their current Web page.

    OpenID Authentication uses only standard HTTP(S) requests and responses, so it does not require any special capabilities of the User-Agent or other client software. OpenID is not tied to the use of cookies or any other specific mechanism of Relying Party or OpenID Provider session management. Extensions to User-Agents can simplify the end user interaction, though are not required to utilize the protocol.

    Now I just need to figure out a clever way to get it to work with a WCF-based relying party...

提交回复
热议问题