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.
Thank you,
Samer 

0

8

댓글 0개

댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물