views:

45

answers:

1

This webservice is written in C#, and I want to use an OpenID to authenticate.

This authentication request will be called by a WPF, and an asp.net applicantion. the webservice will then try to authenticate in OpenID server, and in this case I use OpenID-LDAP software.

The big problem is how to use OpenID without showing the web page to login (the webservice is who is going to inform user and password)?

+1  A: 

Open ID will, by design, not work here ... because it works by delegating the authentication to another party (when it shows the open ID provider's website to let the user log in). What you probably want to do is authenticate the user once in your WPF app, and then set up some sort of authentication token between your app and the webservice.

Joel Martinez
Thank you for the quick answer.
tiagodll