Account
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Preferences
Topic Started
Topics |
---|
Hi :) Currently trying to create transaction using returned JWT token and am getting this error message, 404 Not Found, is the end point complete? i copied it from the email. |
Replies Created
Reply to: Hi DCorey, Thanks for…
Wednesday, August 18, 2021 at 09:52amHi Duo
Thanks for reply :)
Error im getting now is
{"Invalid":"Scope or Grant Type invalid"}
So this is an error being returned by your systems I presume? If so that means I am at least getting a reponse from OneSpan even if error
As per your instruction above to use this "scope=tenant_access&grant_type=client_credentials" how do i frame this in the body
eg
{
"scope=tenant_access&grant_type=client_credentials"
}
something like this?
Reply to: Hi DCorey, Which REST…
Wednesday, August 18, 2021 at 11:04amThanks for reply :)
I was trying to call the JWT within our automation software using a HTTP call, we use this to call JWTs internally, as well as to make POST and GET calls to other external organisations. I have attached an image example of this with a couple of fields filled out as an example of what we're working with
I have SOAP UI, I can try getting JWT with that, can you add any guidance on endpoints in attached image?
Reply to: Query with getting JWT token, Headers and Body
Thursday, August 19, 2021 at 07:07amHi Duo
I have set up as per image but am getting error message as per bottom of image "Error getting response..."
I've also included raw request below image
from your raw data in above post, I see you have User_Agent, Content-Length, Host and Connection which i don't have below, and you don't have any headers, are these fields returned in the raw request when the call is successful?
here is my raw request
POST https://gs.onespan.cloud/rpoc-saa/oauth/token HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic ZGlXXxxxxBV
Content-Type: multipart/form-data; boundary="----=_Part_26_5280363.1629372397358"
MIME-Version: 1.0
------=_Part_26_5280363.1629372397358
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="scope"
tenant_access
------=_Part_26_5280363.1629372397358
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="grant_type"
client_credentials
------=_Part_26_5280363.1629372397358--
a
Reply to: Query with getting JWT token, Headers and Body
Thursday, August 19, 2021 at 08:58amHi, same error unfortunately
POST https://gs.onespan.cloud/rpoc-saa/oauth/token HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Basic ZGlxxxxBV
Content-Type: multipart/form-data; boundary="----=_Part_46_7581591.1629381257168"
MIME-Version: 1.0
Host: gs.onespan.cloud
------=_Part_46_7581591.1629381257168
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="scope"
tenant_access
------=_Part_46_7581591.1629381257168
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data; name="grant_type"
client_credentials
------=_Part_46_7581591.1629381257168--
Reply to: Query with getting JWT token, Headers and Body
Thursday, August 19, 2021 at 02:51pmHi Duo
Got it to return the JWT token using Postman :)
I think Soap UI was having issues using our proxy like you suggested, the proxy works totally fine with PM, thanks again!
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
1 | 2 years 7 months ago | 50 | ||
Hi :) Currently trying to create transaction using returned JWT token and am getting this error message, 404 Not Found, is the end point complete? i copied it from the email. |
1 | 2 years 8 months ago | 34 | |
10 | 2 years 8 months ago | 271 |