My Oracle Support Banner

How can the Response from the OAuth Configuration REST API be JSON Formatted (Doc ID 2846495.1)

Last updated on FEBRUARY 01, 2022

Applies to:

Oracle Access Manager - Version 12.2.1.4.210408 and later
Information in this document applies to any platform.

Goal

 By default the response from the OAuth configuration REST API in OAM is not in any particular format...the formatting looks kind of like JSON, but is not strictly JSON formatted, for example a GET on the Identity Domain configuration endpoint might return something like :

This result cannot be parsed easily when called from an application, as it doesn't adhere to any particular standard.  The documentation indicates that the response formatting is application/json however this is not the case by default.  How can the return data be JSON formatted?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.