Oracle Analytics Mobile Application for Oracle Analytics Server Configured with Single Sign-On using IAM App Gateway

March 29, 2024 | 7 minute read
Veera Raghavendra Rao Koka
Consulting Member of Technical Staff
Text Size 100%:


Welcome back!

A previous blog, Integrate OAS with IAM App Gateway for SSO, described how to implement Single Sign-On (SSO) for Oracle Analytics Server (OAS) using Oracle Identity Cloud Service (IDCS) or IAM App Gateway.

Building upon that foundation, this blog explores how you can access Oracle Analytics Server through the Oracle Analytics mobile app.



To understand more about IDCS App Gateway and IAM App Gateway, see How IDCS App Gateway Works and How IAM App Gateway Works.


Before proceeding, ensure you've completed the SSO configuration steps for OAS either through IDCS or IAM App Gateway, as outlined in the blog Integrate OAS with IAM App Gateway for SSO.

When complete, access the OAS URL to test the SSO functionality. For example, the OAS URL:


Download the Oracle Analytics Mobile App


Download the Oracle Analytics mobile app from:

Configure the Enterprise Application for Single Sign-On from the Mobile App

The enterprise application you created for the App Gateway (for example, OASAppGatewayEnterpriseApp) doesn’t have a Resource and Resource Scope configured, which the mobile app requires.

  1. Edit the enterprise application, and expand Resource Server Configurations under the OAuth Configuration tab.
  2. Select Configure this application as a resource server now.
  3. Select Is Refresh Token Allowed.
  4. For Primary Audience, enter the name of the application. For example: OASAppGatewayEnterpriseApp
  5. For Secondary Audience, enter the load balancer base URL. For example:
  6. Create a Scope for "/" and set Requires Consent to True.


Configure Oracle Analytics Server for Mobile Access

Run the below scripts as an Oracle user on the OAS compute instance.

Stop Oracle Analytics Server services


Display help for the mobile configuration script (setMobileConfiguration)

Use the setMobileConfiguration script to configure OAS for mobile use cases.

/u01/data/domains/bi/bitools/bin/ –help

Usage: [-d DomainHome] [-s SIkey] [-p IdentityServicePort] -a PermanentServiceUri -u TokenServiceUrl -h IdentityServiceHostDomain -t TenantStripe -i ClientId

-d: Domain home (including final domainName dir). Defaults to '/u01/data/domains/bi' if not specified

-s: Service instance key. Defaults to 'ssi' if not specified

-p: Port number of the Identity cloud service. Defaults to 443 if not specified

-a: Permanent service URI. Use 'Primary Audience' value configured in the OAuth Configuration tab of the Identity cloud service enterprise app. Eg., or OASEnterpriseApp

-u: Token service URL of Identity cloud service instance. Eg.,

-h: Domain portion of Identity cloud service host. Eg.,

-t: Identity cloud service Tenant stripe. Eg., idcs-12121212121212121212121212121212

-i: OAuth Client Id. This is the Client ID of the Confidential App used for Oracle Identity Cloud Integrator configuration in the WLS Administration Console


Run the mobile configuration script

Important: You can't re-execute this script.

Make a note of all required values before running the script.

The script will prompt you to enter the Client Secret for the Client ID that you specify.



Run the script, for example:

/u01/data/domains/bi/bitools/bin/ -d /u01/data/domains/bi -s ssi -p 443 -a OASAppGatewayEnterpriseApp -u -h -t idcs-f5e26bxxxxxxxxxxxxxxxxxxxxxxxxx00403 -i 0982xxxxxxxxxxxxxxxxxxxxxxxxx95529

When prompted, enter the Client Secret for the Client ID of the confidential application that you specified.

Start Oracle Analytics Server services


Create a mobile application

Create and configure a mobile application. Either use the IDCS Administration Console or the IAM Domain Integrated Applications page in the OCI Console.

  1. Sign in to IDCS Administration Console and navigate to Applications. Or sign in to OCI Console, and navigate to the IAM Domain, then Integrated Applications.
  2. Create a Mobile Application.
  3. On the Client Configuration step:
    1. Check Refresh Token, Authorization Code, and Implicit for Allowed Grant Types.
    2. Check Allow non-HTTPS URLs.
    3. Enter Redirect URL: dopplermobileapp://nodata
    4. Enter Post Logout Redirect URL: dopplermobileapp://logout
    5. Enable Bypass Consent.
    6. Add Scope: Select the Enterprise Application.
  4. Note the Client ID value.
  5. Activate the mobile application.




For Scope, select the enterprise application created for the App Gateway (for example, OASAppGatewayEnterpriseApp) from the list of available applications.


Note the Client ID value and use it to construct a Magic URL.


Activate the mobile application and note the Client ID value.

Create a Magic URL

A Magic URL contains all the required information to access IDCS using SSO and can be shared across your organization. It contains five elements as shown in the following sample data.

Sample Data

  • Mobile app code name: oracleanalytics
  • Client ID: Value of the mobile application that you configured for SSO in OAS. For example: 875f734r32yut27474sa55uye14c7a
  • Oracle Analytics Server URL: For example:
  • Oracle Analytics Server Scope URL: Available in the Resources section of the mobile application that you configured for SSO in OAS. For example: OASAppGatewayEnterpriseApp/
  • Oracle Identity Cloud Service URL: For example:

A Magic URL with these values looks like this:


Alternatively, you can use the MagicURL Generator.

Oracle Analytics Magic URL Generator

Available at:

Access the Magic URL

Open the Magic URL on any Android or iOS device with the Oracle Analytics mobile app installed.



Call to Action

You're now equipped to configure Oracle Analytics mobile app access for your Oracle Analytics Server which is integrated with either Oracle Identity Cloud Service or OCI IAM Domain for authentication through App Gateway. Once you experiment with the configuration yourself, let us know your results in the Oracle Analytics Community.



Veera Raghavendra Rao Koka

Consulting Member of Technical Staff

Oracle Analytics Service Excellence, CEAL Team

Previous Post

Highlighting data with conditional decorations in Oracle Analytics Cloud

Abhinav Chaurasia | 5 min read

Next Post

Oracle Analytics Mobile Application for Oracle Analytics Server Configured with Single Sign-On Using OCI IAM Domain with Apache HTTP Server and OpenID Module