Set up Access to REST API
The Oracle Cloud Service applications are used for API authentication and authorization. The applications add controls that enable you to issue tokens with READ (GET as an example) and ADMIN (POST as an example).
In OCI IAM, the controls are referred to as scopes. These scopes are available for each Student Financial Aid (SFA) environment:
- /audit.admin
- /audit.readonly
- /mpg.admin
- /mpg.readonly
- /ui.admin
- /ui.readonly
- /vug.admin
- /vug.readonly
Here are examples of when to use the different scopes:
- When you need to make a READ (GET) call to the Vocado US Department of Education Gateway (VUG) API, you would request a token with only the /vug.readonly scope for the corresponding SFA environment.
- When you need to make an ADMIN (POST) call to the Message Processing Gateway (MPG) API, you would request a token with only the /mpg.admin scope for the corresponding SFA environment.
Environment URLs and Endpoints
Here's the list of production and test environments as well as the endpoints.
Production Environment | Test Environment |
---|---|
Format:
Example:
|
Format:
Example:
|
These are the endpoints in the production and test environments:
- API
- /audit/v2
- /mpg/v2
- /portal/info
- /vm-ui/rest
- /vug/v2
- Financial Aid System and Self-Service Portal
- /vm-ui/ui-auth
- /portal/ui-auth
Add a Confidential Application
To access the APIs for all your SFA environments, you need to create a Confidential Application for which you can regenerate the credentials on an ongoing basis, and control who has access to it.
For the complete instructions, see Adding a Confidential Application. The steps outlined below provide some recommendations as you add a new application.
- From OCI's navigation menu, go to .
- Add a new application.
-
Select Confidential Application.
- Enter the required information.
- Select Enforce grants as authorization.
- On the Configure OAuth pane, select Configure this application as a client now.
- Select Client Credentials.
-
Select Add resources.
-
Select Add app roles.
- Select Signin.
- Select Add.
- Finish creating the app. You don't need the other options.
- Activate the application.
Request a Token
- From OCI's navigation menu, go to .
- Browse to the confidential application you created, then select it.
-
Select OAuth Configuration