OAuth, setting parameters to request data from external app.
投稿日時:2022年4月28日
Hi,
I am trying to call an external app API.
I found on your documentation two types of setting on manifest.json.
"parameters": [
{
"name": "token",
"type": "oauth" or "text"
}
what is the deference between text and oauth, when you use text? oauth?
secondly, when I configure this parameters, is it necessary to input this token, which i may create it on Postman? If i didn't pas this parameter would the application create token by using my settings "Client_id, client_secret etc"?
Last question, according to what i read, I understood about OAuth flow that an Authorization request should be created with Post request and passing ClientID and Client secret... should be post to grant the token, I found on your documentation that you send the request of Get, you are not requesting the token before you get the data, What if that saved token which you pass it in header is expired. please clarify.
Last question, according to what i read, I understood about OAuth flow that an Authorization request should be created with Post request and passing ClientID and Client secret... should be post to grant the token, I found on your documentation that you send the request of Get, you are not requesting the token before you get the data, What if that saved token which you pass it in header is expired. please clarify.
Thank you,
Samer
Samer
0
8
0件のコメント
サインインしてコメントを残します。