OPC Router Power Tips - Using OAuth 2.0 with REST APIs

3 min read

Jul 13, 2023 2:00:00 PM

In the ever-changing landscape of industrial control, the ability to establish connections and facilitate efficient data exchange between different technologies is crucial. With digital transformation, the industry requires robust integration solutions more than ever before. This is where the powerful combination of OPC Router, it's ability to both call and host REST APIs using industrial data, and OAuth 2.0 comes into play, enabling organizations to achieve secure and streamlined communication across their automation and other systems.

OPC Router is a flexible middleware solution that provides an array of functionalities for exchanging and integrating data. It facilitates seamless interoperability by acting as a connection point between various data sources, protocols, and applications such as OPC, OPC UA, databases, REST, ERP, SAP, and more with a visual workflow editor and templates and imports for scalable configuration.

In this 12 minute tutorial video, we will focus on OPC Router’s REST API capabilities, and we will learn how to quickly create secure connections to REST web services using OAuth 2.0 Authorization protocol. To learn more about OPC Router’s extensive list of features, please visit the OPC Router’s products page, and do not hesitate to reach out to us if you have any questions.

Although not necessary, I strongly recommend familiarizing yourself with what and how RESTful APIs work as well as what and how OAuth 2.0 provides layer of security when communicating with web APIs in a network before watching this video.  


In this video, 
using OPC Router's Visual Workflow capability, I've shown you:

  1. How to get Authorization to access a RESTful web service resources that use OAuth 2.0 – Client Credentials grant type.
  2. How to securely consume a REST resource utilizing an Authorization Token.

Don't forget to subscribe to our blog to find out about the latest updates regarding OPC Router and for other how-to videos on using OPC Router.  Try OPC Router with your own connectivity and integration projects using the fully-functional free trial.

Rodrigo Restrepo
Written by Rodrigo Restrepo

Software Toolbox Technical Blog

We're engineers like you, so this blog focuses on "How to" appnotes, videos, tech team tips, product update announcements, user case studies, and other technical updates.  Subscribe to updates below. Your feedback and questions on posts are always welcomed - just use the area at the bottom of any post.

Subscribe to our Blog

Recent Posts

Posts by Topic

See all