Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

OSM Installation

Register mobile client

  • Last UpdatedJun 04, 2024
  • 2 minute read

Note: Ensure that command is one long string without any carriage returns. Any returns in the command will cause an error.

Parameters for Powershell commands for mobile client

An explanation of the parameters used in the Powershell commands for mobile client.

Parameter

Description

Id

The Id should reflect the purpose of the client. For example, osmclientmobileprod or osmclientmobileuat. This is the value that the OSM installer will require.

Name

Must be equal to value for Id parameter.

HostBase

The machine/server name where PCS is installed.

RedirectUris

This is used to redirect after sign in.

  • osm.mobile://callback/

PostLogoutRedirectUris

This is a login page after signing out.

  • osm.mobile://callback/

AccessTokenLifetime

The validity time of the access token for AVEVA Identity Manager. The

default value is 3600 seconds. This is the recommended value.

IdentityTokenLifetime

The validity time of the access token for AVEVA Identity Manager. The

default value is 3600 seconds. This is the recommended value.

To register mobile client with Add command

  1. Open Windows PowerShell in Administrator mode.

  2. Enter the command statement.

    Add-IdentityManagerClient -HostBase "https://pcs_server_name.company.com" -Id osmclientmobileprod -Name osmclientmobileprod -Secret osmmobileclientsecret -PostLogoutRedirectUris "osm.mobile://callback/" -RedirectUris "osm.mobile://callback/" -ScopeRestrictions "openid","profile" -AllowedGrantTypes "authorizationcode" -AllowRememberConsent 0 -RequireConsent 0 -SkipLoggedOutPage 1 -AccessTokenLifetime 3600 -IdentityTokenLifetime 3600

    The results should look like this.

  3. Close PowerShell by exit.

  4. Restart the AVEVA Identity Manager service.

    Embedded Image (65% Scaling) (LIVE)

TitleResults for “How to create a CRG?”Also Available in