Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can You Use Oauth2 Client Credentials Flow To Authenticate when using BI Publisher as Print Server?

Jim SchmitzAug 14 2024 — edited Aug 14 2024

We are using OCI Oracle Anayltics BI Publisher as a Print Server for doing Pixel Perfect Apex reports. Currently using Basic Authentication to connect to a local OAC account in OCI. We would like to change it to using client id/secret so we don't have to make the local account a non expiring password.

For local account basic authentication, the remote server is setup going to:

https://xxxxxxx.analytics.ocp.oraclecloud.com/xmlpserver/services/rest/v1/format/render/

This basic setup works, we can connect and create the reports.

We tried setting up the Web Credentials for OAuth2 with scope of "urn:opc:resource:consumer::all" and the client id/secret from OCI console, that did not work. Does the URL need to be different for Oauth2 or is it just not possible?

Comments
Post Details
Added on Aug 14 2024
0 comments
445 views