Closed NechamaMiller closed 3 years ago
Hi @NechamaMiller. In your example you are making one simple mistake - manually creating the Token object. In this case, you have invalid_token
because you are not setting a token type property. To avoid this situation, you should use the following:
Dim tkn = New Token With {
.AccessToken = accessToken,
.TokenType = TokenType.Bearer
}
Thank you! That worked
I am trying to call GetDocumentAsync using the following code:
This is the output that I get:
As you can see, the token is validating properly, but I still get an error invalid_token when I try to get the document. I reached out to your support team by email but they were not able to help me. Can you tell me why this does not work and what I can do to make this work?
I cannot get the token using username and password because I am submitting this for a 3rd party. They log in on the front end, I save the token in the database, and then I need to use it in a back-end process to send to SignNow