Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

GLPI Oauth authentication to serviceNow

ArielN
Tera Contributor
 

Hi Eveyone, 

 

Has anyone implemented OAuth authentication between GLPI and ServiceNow?

 

Here is my configuration:

 

 

I created :

- A mid Server 

- A rest Message

 

HTTP Methods:

  • One method called "test" to initialize the session in GLPI using initSession.
    When I test this method, I receive a session_token, so it works correctly.

 

However, when I try to Get OAuth Token, I reach the authorization page.
When I click "Accept", I get the following error:

 

HTTP Error 401 - Unauthorized

--Screenshot 2026-03-16 160537.png

I also created an application Registry for the Get OAuth Token in the form with the necessary data/url for GLPI connection.

 

The grand type is "Authorization Code" for the registry and for OAuth Entity Profile.

 

After some analysis, it seems that when I click Get OAuth Token, the function does not work through the MID Server.

However, I’m not sure if this is the actual problem. If it is, I don’t know how to involve the MID Server when clicking Get OAuth Token.

 

Thank You for your Help

0 REPLIES 0