Hello,
We're trying to automatically refresh our JWT tokens so our automated workflows work without having to manually renew the JWT token. We require the below info to setup the connector to auto retrieve a new JWT token from Sophos:
1) Authorize Path:
2) Access Token Path:
3) Scope:
I tried various inputting various inputs but kept getting different errors such as the below:
{"errorCode": "customer.authentication", "message": "Unauthorized", "trackingId": "XXXXX-XXXXX-XXXXX-XXXXX"}
Thanks in advance!
Right now, we aren't refreshing the tokens. We require you to do another token request to get a new token when the first expires. My own script just looks at the expiry time of my current token and if…
Hi,
Did you follow all the steps in this link? https://developer.sophos.com/getting-started-organization
I am looking into if there are any issues on our end.
RichardP
Program Manager, Support Readiness | CISSP | Sophos Technical SupportSupport Videos | Product Documentation | @SophosSupport | Sign up for SMS AlertsIf a post solves your question use the 'Verify Answer' link.
Hi RichardP, yes, I did. I don't see any information that confirms what the authorize path or access token path is in that documentation.
Manually making API calls work fine. The goal here is to be able to automatically renew JWT tokens.
Right now, we aren't refreshing the tokens. We require you to do another token request to get a new token when the first expires. My own script just looks at the expiry time of my current token and if it is expired, fetches a new one.
Refresh of tokens is planned for later. I am not sure when it is slotted in the development cycle.
Does that answer your question?
That is unfortunate to hear, but thank you for letting me know.
I've modified the workflow so it just fetches a new JWT token every time it runs.