简体   繁体   中英

OAuth2 with WCF Service

I am trying to implement OAuth2 into my applications for security and am getting stuck in the process.

I have been following a guide online:

http://www.codeproject.com/Tips/372422/Secure-WCF-RESTful-service-using-OAUTH

But when i implement the code i am getting an error. The error seems to come when creating a 'Web Request' to the WCF Service. ( See Below )

在此处输入图片说明

I was just wondering are other people experiencing this? If so, how can i fix this?

(400) Bad Request usually means your URI is incorrect. Please check whether your URI is correct or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM