ibm-cloud-docs / watson-assistant

Documentation repository for watson-assistant
5 stars 10 forks source link

watsonx assistant how to get the latest token when i create the extension for Openapi3.0 #19

Open pengtang82 opened 10 months ago

pengtang82 commented 10 months ago

Dear I create the salesforce OpenAPI3.0 extension and it does well via restapi to call the salesforce until the session timeout
So I guess that there is not get the latest token when it expire. at the extension input page there is some parameter as below Like Header Prefix so in my opinion , i need tp input the token in it ,Likes Bear + Token , but how should i get the latest token at this page .I only manually input the token , is there a global parameter for the latest token that i can use ?

image
pengtang82 commented 10 months ago

I have read the document as below but there is no a comment that the header prefix need to manual input . and there is only the comments about header prefix

In the Header prefix field, specify the prefix that precedes the access token in the Authorization header. (The default prefix is Bearer, which is typical for most applications.)


https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-add-custom-extension#add-custom-extension-oauth