N
N
Ninja Mate2016-03-03 20:36:43
OAuth
Ninja Mate, 2016-03-03 20:36:43

What is the sequence when setting up an oAuth2 server for a WP plugin?

The task is the following, there is a restaurant website that uses Kounta for the menu and other things. Kounta has its own API and oAuth2 authorization request. Site on WP. My questions are:
- Is WP OAuth Server suitable for this purpose? If yes, then at least an approximate procedure.
-The second concerns a phrase from the documentation


Once you have your client_id and client_secret, use these URLs to authenticate:
Once you have your client_id and client_secret, use this URL to authenticate
To request authorization: https://my.kounta.com/authorize To get access tokens: https ://api.kounta.com/v1/token.json Get access token

Where does client_id and client_secret come from with oAuth2 or do you need to get it on the site?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2016-03-10
@sankros

client_id and client_secret are the data of your application on facebook, vk, google or twitter, which will be used for authorization. Accordingly, you get this data there after creating the application. Odnoklassniki and mylru also have a public_key

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question