OAuth2 Setup Skill

The OAuth2 Setup skill helps administrators configure OAuth2 to be used for EPM Agent Skills, EPM Automate login, and REST clients.

This skill guides an Identity Domain Administrator through downloading an OAuth2 token file from the Oracle Cloud console, queries and lists all EPM Cloud environments configured in the specified domain, offers user the option to choose one or more allowed EPM Cloud environments, creates or updates EPM Auth2 application to use device code and refresh token grants, and activates the created application.

Upon completion, it summarizes the configuration providing the user with parameters that will be required for EPM Automate, REST APIs, and/or EPM Agent skills (i.e., client Id, service instance Id, refresh token, and/or access token for each environment).

Shared Auth continues to own authentication; the OAuth2 Setup skill does not execute EPM business actions except by handing an already requested operation back to its owning skill.

Applies to: Account Reconciliation, Enterprise Data Management, Enterprise Profitability and Cost Management, Financial Consolidation and Close, FreeForm, Narrative Reporting, Planning, Profitability and Cost Management, Tax Reporting

Example Prompts:

  • Set up OAuth2 for EPM agent skills using the environments in my selected setup file. Show the application plan before making changes.
  • Check OAuth2 prerequisites for my selected EPM environment and explain which settings need attention.
  • Prepare an update to the selected existing OAuth2 application to add my production service while preserving unrelated resource assignments.
  • Register the OAuth2 application for my selected environments only; do not start Oracle sign-in or issue tokens.
  • Guide me through Oracle sign-in and provide a separate private EPM Automate configuration file for each requested environment.
  • Provide private REST-client credentials for my selected environment using an independent token sequence.
  • After registration, give me manual refresh-token setup instructions without starting sign-in or sending token requests.

Note:

OAuth2 Setup skill requires the Domain Administrator and Service Administrator access and Python 3.11 or later.