OAuth 2 Authorization for APIs - example

Category: Samples
Subcategory: Examples

Overview

Are you working on a RESTful API call in your Mendix application? Chances are that it requires OAUTH 2.0 authorization.
 
This module is an example of how to implement the OAuth 2 Authorization process to obtain an access token (aka bearer token) used in consumed REST calls

Documentation

Description

An example module to show the required implementations to obtain an Access Token based on your client_id, client_secret and authorization_code

Typical usage scenario

API providers such as Adobe Sign, Typeform, Google, Rabobank, Twitter, Oracle, Dropbox all use the OAuth 2.0 authorization framework (OAuth 2.0) to secure the access to their API's. The OAuth 2: specification is a technical read, and developer documentation of the API might be falling short on the Mendix implementation part.
 
OAuth 2.0 enables a third-party (your Mendix) application to obtain limited access to an HTTP service (API). This module can be used as a reference implementation. This how-to will guide you through the basic implementation steps and I will skip some technical details of the framework. Let's get you up and running!
 

Dependencies

  • Encryption module

 

Releases

Version: 1.0.0
Framework Version: 8.18.0
Release Notes: Release version 1.0.0 - Initial version of the OAuth 2 authorization module (example)