Getting authentication token through mid server

mehdifaraj5
Giga Contributor

Hello Dear,

we have an anssible application installed in internal server and we want to get token from OAuth 2.0 Credential by clicking on "get OAuth Token" through mid server but it didn't work.

Regards,

Mehdi FARAJ

 

1 ACCEPTED SOLUTION

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi Mehdi,

As far as I know, it isn't possible to do that through the MID Server. Take a look here: Outbound REST authentication | ServiceNow Docs

"OAuth 2.0 can be used only with messages that are not configured to use a MID Server. You cannot send OAuth 2.0 authenticated messages through a MID Server."

 

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor's Guide To ServiceNow

View solution in original post

7 REPLIES 7

Evan Miller
Tera Contributor

As an FYI for anyone who finds this article, this feature is now available as of the Washington DC release.

Julien Dumoul1
Tera Contributor

Thanks @Evan Miller. You are most probably referring to this KB Article:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1645211

If not, please feel free to correct me.

Evan Miller
Tera Contributor

I saw it in the release notes, but yes, it's officially supported with client credentials as of Washington DC.