Is it possible to expose an API for my own WebSite ... but use oAuth for the api authentication?
- by Pure.Krome
Hi Folks,
currently I expose an api for my website. Works great .. and i use Basic Authentication to authenticate users to get access to the data.
eg.
http://www.MyWebSite.com <-- main site.
http://api.MyWebSite.com <-- my api website.
sample api RESTful url
http://user1:[email protected]/games?type=battlefield2
(yes yes i know browsers stop people from putting in user1:pass1 (Basic Auth) into the url directly .. cause of security . but it's to highlight that we're using Basic Auth)).
So .. how can i do this with oAuth?