{"id":74,"date":"2023-11-20T18:50:23","date_gmt":"2023-11-20T18:50:23","guid":{"rendered":"https:\/\/oracleepm.guide\/?p=74"},"modified":"2023-11-23T06:07:24","modified_gmt":"2023-11-23T06:07:24","slug":"oauth-2-authentication-oracle-epm-cloud","status":"publish","type":"post","link":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/","title":{"rendered":"Understanding OAuth 2 Authentication in Oracle EPM Cloud"},"content":{"rendered":"\n
Oracle’s Enterprise Performance Management (EPM) Cloud now supports OAuth 2 authentication for REST APIs in Oracle Cloud Infrastructure (OCI) \/ Gen 2 environments. This enhancement is a significant step forward in securing and simplifying API interactions by eliminating the need for password-based authentication. Here’s a detailed look at how to set up and use OAuth 2 authentication in Oracle EPM Cloud.<\/p>\n\n\n\n
The process involves several key steps:<\/p>\n\n\n\n
curl<\/code> command with specific parameters and headers.<\/li>\n\n\n\n- Obtaining an Access Token<\/strong>: Using the latest refresh token and client ID, the REST client issues a request to get a new access token. This token is then used as authorization while invoking REST APIs.<\/li>\n<\/ol>\n\n\n\n
Security Considerations<\/h4>\n\n\n\n
It’s crucial to securely encrypt and store the client ID and any tokens. The REST client must ensure the secure storage of the refresh token and client ID. For EPM Automate, an epw<\/code> file is used for this purpose.<\/p>\n\n\n\nUsing the Access Token<\/h4>\n\n\n\n
To invoke an EPM Cloud REST API, the REST client must provide the access token in the authorization header. For example, to get the Automated Maintenance Window start time, a GET request is submitted to the EPM Cloud endpoint using the access token.<\/p>\n\n\n\n
FAQs and Troubleshooting<\/h4>\n\n\n\n
The blog post also addresses common questions and issues related to OAuth 2 setup in Oracle EPM Cloud, such as the validity of configurations set up before EPM Cloud Release 23.07, modifying the expiry time of a refresh token, and handling various errors.<\/p>\n\n\n\n
In summary, the integration of OAuth 2 authentication in Oracle EPM Cloud for OCI environments enhances security and streamlines the process of interacting with REST APIs. By following the outlined steps, users can effectively set up and manage OAuth 2 authentication in their Oracle EPM Cloud environments.<\/p>\n","protected":false},"excerpt":{"rendered":"
Oracle’s Enterprise Performance Management (EPM) Cloud now supports OAuth 2 authentication for REST APIs in Oracle Cloud Infrastructure (OCI) \/ Gen 2 environments. This enhancement is a significant step forward in securing and simplifying API interactions by eliminating the need for password-based authentication. Here’s a detailed look at how to set up and use OAuth […]<\/p>\n","protected":false},"author":2,"featured_media":75,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"yoast_head":"\n
Understanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n\n\n\t\n\t\n\t\n