Hy
I want to make my own api (api.mysite.com).
But I want to protect it from OAuth.
I could not find a good tutorial on how to implement it.
I would like something like this:
On api.mysite.com there will be files for oauth:
- where the user sends a signed request, and I return the necessary data to him (first send him something like 1 or 0).
And on localhost / testapi there will be an index.php file:
where the user signs the request and sends it to api.mysite.com, where it is processed, and returns the result if everything is fine
Where can I find the best tutorial explaining what to put on api.mysite.com, what to add to localhost / testapi and sql structure?
Thank you and sorry for my stupidity.
source share