SOTI MobiControl integration with ServiceNow

SOTI MobiControl integration with ServiceNow

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.

 

  • 02 June 2021
  • SOTI MobiControl
  • 4 Answers
  • 0 Upvote
  • 2 Followers
  • 1.5K Views
    • 4 Answers
    • 0 Upvote
    • 2 Followers

4 Answers

Order By:   Standard | Newest | Votes
RRMOD@SOTI | posted this 02 June 2021

Hi Ashwath Kumar,

 

Thanks for posting in the SOTI Central.

 

Can you please check if you are using a Mobicontrol user with Administrator privileges and It should be a Mobicontrol user not an Identity User. Please follow the steps below to check Admin User for your Mobicontrol account.

 

Kindly login to the Mobicontrol and Navigate to the Security Tab and look for your username and check if has the Administrator user group assigned to it under the Member section.

 

 

 

Also, if this post has helped you in solving your inquiry, I would request you to mark the particular comment as "is solution", so others may benefit from this information.

Kind Regards, Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0
Ashwath Kumar | posted this 02 June 2021

Thank you for your Reply!

 

I have the user configured in the same way

  • 0
  • 0
RRMOD@SOTI | posted this 02 June 2021

Hi Ashwath,

 

Please use Base 64 encode with Padding for Authorization Key. Open Notepad++ in the Plugins > MIME Tools > Base64 Encode with Padding.

Then, Enter the word basic and then a space followed by the Base64 value from the last step. This would be the value for the Authorization key.

 

Also, if this post has helped you in solving your inquiry, I would request you to mark the particular comment as "is solution", so others may benefit from this information.

Kind Regards, Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0
Ashwath Kumar | posted this 02 June 2021

Unfortunately I did that too. I guess the problem is with the way I'm sending the Grant Type

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback