Hey there!
I'm trying to integrate MobiControl with ServiceNow. To achieve this I'm trying to get the access token in Servicenow using token POST api. But I'm not able to make successful connection and get the Access Token. I guess I'm making the below mistakes
1. Not converting the Client ID and Client secret to correct RFC2045 MIME Base64 - How do we do this? I'm using notepad++ MIME Tools to convert. Is this correct? or am I doing it wrong?
2. I'm little confuse on how to use the Grant Type? It says follow the below format
POST https://server.domain.tld/MobiControl/api/token HTTP/1.1 Host: server.domain.tld Authorization: Basic QXBwbGljYXRpb24xOkFwcGxpY2F0aW9uMVBhc3N3b3Jk Content-Type: application/x-www-form-urlencoded Content-Length: 53 grant_type=password&username=Administrator&password=1
Attaching the image how I can do in ServiceNow, not sure it's correct
Error I'm getting while calling the API javax.net.ssl.SSLException: Connection reset
When I use postman for the same I'm getting "error": "invalid_client"
I appreciate any help! thank you in advance.

