My Oracle Support Banner

How to pass securtiy header dynamically for Oauth authentication. (Doc ID 2738929.1)

Last updated on SEPTEMBER 29, 2022

Applies to:

Visual Builder Studio - Version 20.10 and later
Information in this document applies to any platform.


Step 1:
url for POST Call:
Header: Authorization & Content-Type
Body: username, password, grant_type
Results returned after Step 1:
"access_token": "temp_test",
    "token_type": "bearer",
    "expires_in": 600,
    "refresh_token": "temp_test2"
url for get call:
Headers: Authorization(//it is Token we got from Step 1 POST call) & Content-Type
but on step 2 since the header is "Authorization" it is working fine when we pass as static secured header.
we tried with OAuth but that did not help.
How can we pass the token to "Authorization" for second call? when we try with custom header it is failing.


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

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