{"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

Setting Up OAuth 2 Authentication<\/h4>\n\n\n\n

The process involves several key steps:<\/p>\n\n\n\n

    \n
  1. Register an OAuth Client<\/strong>: This is a one-time setup requiring interaction with the IDCS Administrator. The client application is registered in IDCS to obtain an access token, which is crucial for authorizing REST API calls.<\/li>\n\n\n\n
  2. Obtain the First Refresh Token<\/strong>: This step also requires user interaction. A refresh token is essential for obtaining an access token and must be securely stored.<\/li>\n\n\n\n
  3. Obtain an Access Token from the Refresh Token<\/strong>: This step can be automated and does not require user interaction. The access token is used as authorization to invoke REST APIs.<\/li>\n<\/ol>\n\n\n\n

    Detailed Steps for Implementation<\/h4>\n\n\n\n
      \n
    1. Registering an OAuth Client<\/strong>: The IDCS Administrator registers a client application in IDCS, authorizing it to access Oracle Cloud resources. This involves updating the service provider configuration and selecting appropriate grant types.<\/li>\n\n\n\n
    2. Obtaining the First Refresh Token<\/strong>: The user issues an unauthenticated request to the Identity Cloud Service URL to get a valid refresh token. This involves using a curl<\/code> command with specific parameters and headers.<\/li>\n\n\n\n
    3. 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\n

      Using 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":"\nUnderstanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide\" \/>\n<meta property=\"og:description\" content=\"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 […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/\" \/>\n<meta property=\"og:site_name\" content=\"Oracle EPM Guide\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-20T18:50:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-23T06:07:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud-1024x585.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"585\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Kelly Adams\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kelly Adams\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/\",\"url\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/\",\"name\":\"Understanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide\",\"isPartOf\":{\"@id\":\"https:\/\/oracleepm.guide\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud.png\",\"datePublished\":\"2023-11-20T18:50:23+00:00\",\"dateModified\":\"2023-11-23T06:07:24+00:00\",\"author\":{\"@id\":\"https:\/\/oracleepm.guide\/#\/schema\/person\/db51c3e7ff1bec0bba722285ef11d4e5\"},\"breadcrumb\":{\"@id\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#primaryimage\",\"url\":\"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud.png\",\"contentUrl\":\"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud.png\",\"width\":1792,\"height\":1024,\"caption\":\"OAuth Oracle EPM Cloud\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/oracleepm.guide\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding OAuth 2 Authentication in Oracle EPM Cloud\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/oracleepm.guide\/#website\",\"url\":\"https:\/\/oracleepm.guide\/\",\"name\":\"Oracle EPM Guide\",\"description\":\"Empowering Your Journey in Oracle EPM \u2013 Expertise at Your Fingertips\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/oracleepm.guide\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/oracleepm.guide\/#\/schema\/person\/db51c3e7ff1bec0bba722285ef11d4e5\",\"name\":\"Kelly Adams\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/oracleepm.guide\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/629e05e5ac20a23cd0a042b37fd80b46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/629e05e5ac20a23cd0a042b37fd80b46?s=96&d=mm&r=g\",\"caption\":\"Kelly Adams\"},\"description\":\"Kelly is an expert in Oracle Enterprise Performance Management (EPM), skilled in implementing and optimizing this tool for enhanced business performance. Her expertise encompasses system customization, user training, and staying abreast of the latest EPM technologies. Kelly's proficiency in Oracle EPM is a valuable asset to organizations aiming to leverage technology for improved decision-making and process efficiency.\",\"url\":\"https:\/\/oracleepm.guide\/author\/kelly\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/","og_locale":"en_US","og_type":"article","og_title":"Understanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide","og_description":"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 […]","og_url":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/","og_site_name":"Oracle EPM Guide","article_published_time":"2023-11-20T18:50:23+00:00","article_modified_time":"2023-11-23T06:07:24+00:00","og_image":[{"width":1024,"height":585,"url":"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud-1024x585.png","type":"image\/png"}],"author":"Kelly Adams","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kelly Adams","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/","url":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/","name":"Understanding OAuth 2 Authentication in Oracle EPM Cloud - Oracle EPM Guide","isPartOf":{"@id":"https:\/\/oracleepm.guide\/#website"},"primaryImageOfPage":{"@id":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#primaryimage"},"image":{"@id":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#primaryimage"},"thumbnailUrl":"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud.png","datePublished":"2023-11-20T18:50:23+00:00","dateModified":"2023-11-23T06:07:24+00:00","author":{"@id":"https:\/\/oracleepm.guide\/#\/schema\/person\/db51c3e7ff1bec0bba722285ef11d4e5"},"breadcrumb":{"@id":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#primaryimage","url":"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud.png","contentUrl":"https:\/\/oracleepm.guide\/wp-content\/uploads\/oracle-epm-OAuth2-cloud.png","width":1792,"height":1024,"caption":"OAuth Oracle EPM Cloud"},{"@type":"BreadcrumbList","@id":"https:\/\/oracleepm.guide\/how-to\/oauth-2-authentication-oracle-epm-cloud\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oracleepm.guide\/"},{"@type":"ListItem","position":2,"name":"Understanding OAuth 2 Authentication in Oracle EPM Cloud"}]},{"@type":"WebSite","@id":"https:\/\/oracleepm.guide\/#website","url":"https:\/\/oracleepm.guide\/","name":"Oracle EPM Guide","description":"Empowering Your Journey in Oracle EPM \u2013 Expertise at Your Fingertips","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oracleepm.guide\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/oracleepm.guide\/#\/schema\/person\/db51c3e7ff1bec0bba722285ef11d4e5","name":"Kelly Adams","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/oracleepm.guide\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/629e05e5ac20a23cd0a042b37fd80b46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/629e05e5ac20a23cd0a042b37fd80b46?s=96&d=mm&r=g","caption":"Kelly Adams"},"description":"Kelly is an expert in Oracle Enterprise Performance Management (EPM), skilled in implementing and optimizing this tool for enhanced business performance. Her expertise encompasses system customization, user training, and staying abreast of the latest EPM technologies. Kelly's proficiency in Oracle EPM is a valuable asset to organizations aiming to leverage technology for improved decision-making and process efficiency.","url":"https:\/\/oracleepm.guide\/author\/kelly\/"}]}},"_links":{"self":[{"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/posts\/74"}],"collection":[{"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":0,"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/media\/75"}],"wp:attachment":[{"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oracleepm.guide\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}