My Oracle Support Banner

How to Retrieve SAML Bearer Assertion for Client Authentication (Doc ID 2453588.1)

Last updated on SEPTEMBER 29, 2018

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

The customer is using SAML to login Storefront and they decide to extend this to grant user access to Storefront through REST API.
To do this, the customer would like to use a SAML Client Assertion for client authentication as described and would like to know how to get the SAML client assertion.

curl -i

-H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8"
--request POST http://host:port/ms_oauth/oauth2/endpoints/oauthservice/tokens
-d 'client_id=54321id
&grant_type=client_credentials
&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Asaml2-bearer
&client_assertion=<SAML client assertion value>
&scope=scope1%20scope2'



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!


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