Is there any way to make a REST POST with Oauth 1.0 ?

lucap_
Mega Sage

Good evening everybody,

I whould like to know if there is a way to use the Oauth 1.0 to make a REST POST. I know that I can't create an outbound REST with Oaut 1.0 instead of 2.0 (there is non 1.0 option...), but may be using RESTMessageV2 or similar I can achieve my goal.

May someone help me,please?

Best regards

Luca

1 ACCEPTED SOLUTION

Hi Luca,



There has been this statement for OAuth 1.0


OAuth 1.0 has been officially deprecated as of April 20, 2012 because of session fixation attack.



https://oauth.net/advisories/2009-1/


https://oauth.net/core/1.0/



So I am not sure anyone having integration after 2012 have used OAuth 1.0. If anyone is still using then I think ServiceNow won't support it and uses OAuth 2.0



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Chandu Telu
Tera Guru
Tera Guru

HI Luca,



Check the below link it may help you



Outbound REST web service call using oAuth


Rest API to get token


Ankur Bawiskar
Tera Patron
Tera Patron

Hi Luca,



ServiceNow has stopped OAuth 1.0 and is deprecated. Instead OAuth 2.0 is being used


There are some advantages of using OAuth 2.0 instead of version 1.0



How is OAuth 2 different from OAuth 1? - Stack Overflow



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur.





I have the same predicament.
What about when you need to build integrations to external systems that dont have OAuth2-support. e.g. Jira?


Hi Ankur,


I'm sure there are advantages using OAuth 2.0 instead of version 1.0, but unfortunatelly I have to make an integration with a third party that is still using the 1.0 version, so I'm looking for a solution.



 


Thanks for your reply.


Luca