I have an MVC website that sits on top of a WCF service. WCF is also available on the Internet with username and password authentication using message and certificate security. This is setup and work.
Both the website and the service use the same member store using the membership API.
A user can register on a website or service using the same credentials. However, when the website calls the service, it needs to pass the credentials of the current user. I can get the username from
Membership.GetUser().UserName
but I can not get the password!
Is there any other way to substantially transfer the website user credentials for the service?
Any help is much appreciated ...
Markb source
share