This article is a follow-on to my previous
blog post on configuring SSO on a WebSphere Traditional Application server.I will now describes how to configure Single Sign On (SSO) with IBM Content Navigator (ICN), Content Services GraphQL (GQL), and Content Platform Engine (CPE) on WebSphere Network Deployment (WAS ND) application server using LTPA, OAuth, or OpenID Connect (OIDC) authentication token mechanisms.
Pre-Requisites
Prior to configuring these SSO solutions, it is assumed that you have already installed the following products with the indicated minimum version:
- WebSphere Network Deployment 9.0.5
- IBM HTTP Server
- IBM FileNet Content Platform Engine 5.5.5
- 5.5.7 required if using IBM Content Services GraphQL
- 5.5.7 IF001 required if using Managed User self-provisioning
- IBM Content Navigator 3.0.8
- IBM Content Services GraphQL 5.5.7
Deployment Topology
The WebSphere ND deployment topology used in this example is shown in the image below:
The deployment spans 3 machines:
IDPMA1,
IDPMB1, and
IDPMC1, each hosting a cluster of 2 server instances for the respective application. All requests, both external and internal go through a single
webserver which load-balances the traffic among the servers instances for each application.
In the WAS Admin Console, create the 3 clusters and assign the CE, GQL, and ICN nodes to the respective clusters.
List of servers
LTPA SSO
To configure ICN and GQL to use LTPA SSO over the WSI transport to the CPE server, perform the following steps.
Enable LTPA on WAS ND Admin Console
- Navigate to: Security > Global security > Single sign-on
- Select all options shown below and fill in the DNS domain name for your servers
Set JVM Options for LTPA
Set the following JVM options on the CPE , ICN, and GQL servers
1. CPE JVM Options
- -Dcom.filenet.authentication.wsi.AutoDetectAuthToken=true
2. ICN JVM Options
- -Dcom.filenet.authentication.wsi.AutoDetectAuthToken=true
- -Dcom.filenet.repositoryconfig.allowWSIOnWAS=true
3. GQL JVM Options
- -Dcom.filenet.authentication.wsi.AutoDetectAuthToken=true
OAuth / OIDC SSO
Configuration of OAuth 2.0 or OpenID Connect with ICN, GQL, and CPE is basically the same. Any differences are pointed out explicitly in the descriptions in this section.
1. Register CPE, ICN, and GQL servers with OAuth/OIDC Identity Provider
The registration mechanism is dependent on the Identity Provider, but you will need to provide a redirect URL for CPE, ICN, and GQL servers of the form:
https://<host>:<port>/oidcclient/<IdpID>
where:
- <host> The hostname/IP address of your ICN/External Share/CPE instance
- <port> The port number for the <host>
- <IdpID> The identifier used in the RelyingParty Interceptor settings for your ICN/GQL/CPE instances. For example: provider_1.identifier = ExShareUms
Obtain clientId, clientSecret, and IdP SSL certs as part of this registration process
2. Deploy ICN with Options for SSO support
During deployment of ICN, update the step for Configure the IBM Content Navigator Web Application to use form-based authentication.
Select the Enable OAuth/OIDC Identity Provider support checkbox if an OAuth/OIDC Identity Provider will be used to authenticate users to ICN.
Select the Enable OAuth/OIDC SSO to Content Platform Engine checkbox if CPE will also be configured with OAuth/OIDC support. When this option is selected, OAuth/OIDC SSO will be used between ICN and CPE. Otherwise, LTPA SSO will be used between ICN and CPE.
Set the following Login page URL and Login error page URLs to allow the user to be presented with a login dialog that allows them to select which IdP they want to authenticate with, if multiple are configured.
- Login page URL: /idplogin.jsp
- Login error page URL: /loginError.jsp
3. Install WebSphere OpenID Connect Application
- On WAS ND Admin Console, navigate to Applications > Application Types > WebSphere enterprise applications
- If you don't see the WebSphereOIDCRP application then add it by clicking on the Add... button
- Click Browse
- Enter the path to (WAS_HOME)/installableApps. For example, c:\was90\WebSphere\AppServer\installableApps
- Select WebSphereOIDCRP.ear, then click Open
- Click Next through the subsequent panels, taking all defaults, then click Finish
- Click Save
- Your list of applications should now look like
4. Configure SSL Certificates
- Import the Identity Provider SSL certificates you obtained when registering into the Cell and Node truststores
5. Configure OIDC Trust Association Interceptor on both CPE and ICN tWAS servers
- Navigate to Security > Global security > Authentication > Web and SIP security > Trust association
- Select Enable trust association
- Click on Interceptors link, then click New … and enter Interceptor Class Name: com.ibm.ws.security.oidc.client.RelyingParty
- Navigate to Security > Global security > Custom Properties
- Click New … and define the following custom properties
- Name: com.ibm.websphere.security.InvokeTAIbeforeSSO
- Value: com.ibm.ws.security.oidc.client.RelyingParty
Note: if property exists, add this to existing value, separated by a comma to create a list
-
- Name: com.ibm.websphere.security.performTAIForUnprotectedURI
- Value: true
6. Add Inbound Trusted Reams for Identity Provider(s)
Navigate to Security > Global security > User account repository > Configure
- Under the Related Items section, click Trusted Authentication Realms - Inbound
- Select Trust realms as indicated below option
- Click Add External Realm… button, and enter realm identifier for each Identity Provider
- The realm identifier name should match the <IdpID> you used when you registered your CPE/ICN instances with the Identity Provider.
7. Update Security Role to Group mapping for CPE, ICN, and GQL applications
- Navigate to Applications > WebSphere enterprise applications > FileNetEngine
- Select the Security role to user/group mappings option
- Change the AllAuthenticated special subject to "All Authenticated in Trusted Realms”
- If you only have a single IdP with a single realm, then change the AllAuthenticated special subject to "All Authenticated in Application's Realm”
- Do the same for the content-graphql-api_war and navigator applications.
8. Update Module mappings for CPE, ICN, GQL, and WebSphereOIDCRP applications
- Navigate to Applications > WebSphere enterprise applications > FileNetEngine
- Select the Manage Modules option
- Select CPECluster and webserver1 for all modules
- Do the same for the content-graphql-api_war application, but choose the GQLCluster and webserver1 for all modules.
- Likewise, for the navigator application, choose the ICNCluster and webserver1 for all modules.
- For the WebSphereOIDCRP application, select all clusters. Don't select webserver1.
9. Enable OIDC across multiple clusters in a cell
When running in a cluster environment, the load balancer needs to use an algorithm that sends requests from the same client to the same cluster member during the initial logon sequence with an identity provider. With IHS, you do this using the Inteligent Management for WebServer Plugin.
- Before enabling Intelligent Management for a web server, disable the dynamic generation of the plugin-cfg.xml file for that web server (e.g. webserver1) by navigating to webserver1 > Plugin properties and un-checking the Automatically generate the plugin-in configuration file option.
- Next navigate to webserver1 > Intellegent Management and Enable it.
- Generate the plugin-configuration file
. Select your web server and click Generate plug-in.
. Select your web server and click Propagate plug-in.
, select your web server, and click Stop, then click Start to start your server again.
See Configuring Intelligent Management for web servers for additional details on setting up Intelligent Management.
10. Configure JVM Options for LTPA/OAuth/OIDC
JVM Options are used to control how users login when there are multiple identity providers available. They are also used to control how authentication tokens (LTPA/OAuth/OIDC) are propagated to the CPE server.
10.1 General JVM Options for ICN/GQL/CPE Servers
- Remove JVM Options (if present for ICN, GQL, and CPE)
- -Dcom.filenet.authentication.token.userid=sso:ltpa
- -DFileNet.WSI.AutoDetectLTPAToken=true
- Add JVM Options (for ICN, GQL, and CPE)
- -Dcom.filenet.authentication.wsi.AutoDetectAuthToken=true
10.2 ICN JVM Options for Single Identity Provider Configuration using IdP login page
For a Single IdP, where the IdP contains the same set of users as the LDAP server used by CPE, no additional JVM options are required. Users will automatically be directed to IdP’s login dialog upon accessing ICN for the first time. The image below shows the UMS Identity Provider login dialog.
10.3 ICN JVM Options for Multiple Identity Provider Configuration
For Multiple IdPs, use JVM options to create buttons on ICN login dialog for user to authenticate.
NOTE: JVM values cannot contain spaces
The
com.filenet.authentication.providers JVM option is populated with a list of the realm names of each identity provider
The
com.filenet.authentication.<identity provider>.displayname JVM option is populated with the name as it appears on the ICN login dialog
The following example shows JVM options for 4 different types of identity providers
- defaultWIMFileBasedRealm - Internal corporate users that also exist in the LDAP server used by CPE.
- UmsManagedUsers - Internal corporate users that do not exist in the LDAP server used by CPE
- ExShareUms - External Share Users using a UMS identity provider
- ExShareGID - External Share users using Google sign-in as the identity provider
-
- -Dcom.filenet.authentication.providers=defaultWIMFileBasedRealm,UmsManagedUsers,ExShareUms,ExShareGID
- -Dcom.filenet.authentication.defaultWIMFileBasedRealm.displayname=UMS-Internal-LDAP
- -Dcom.filenet.authentication.UmsManagedUsers.displayname=UMS-Internal-Managed
- -Dcom.filenet.authentication.ExShareUms.displayname=UMS-External
- -Dcom.filenet.authentication.ExShareGID.displayname=Google-External
These JVM options will cause the ICN login dialog to appear as shown below:
If you want internal corporate users to authenticate using ICN's local LDAP configuration, you can display the direct login fields on the ICN dialog using this JVM option
- -Dcom.filenet.authentication.displayLdapLoginControls=true
This will cause the ICN login dialog to appear as shown below:
10.4 Configure JVM options used to control the authentication token propagated to CPE
Applications that use the CE API such as ICN and GQL can control which authentication token gets propagated to CPE if more than one is available after logging into an identity provider. This is done using the
com.filenet.authentication.wsi.AuthTokenOrder JVM option.
An LTPA token is always created by WebSphere, so it is always listed. Either an OAuth or an OIDC token may also be present, depending on the Relying Party Interceptor settings you specify (see later section). If this JVM option is not specified, then the OIDC token is propagated by default.
You might want to change this for one of the following reasons:
- If you are not using the External Share or Managed User features, then LTPA is the simplest. If LTPA is used, then you do not require any of the OAuth/OIDC Relying Party Interception configuration for CPE. However, if you are using the External Share and/or Managed User feature, then you must propagate either the OAuth token or OIDC token since LTPA requires that the user also exist in the WebSphere LDAP server, which would not be the case for these types of users.
- If your IdP only supports either an OAuth or OIDC token, then you must choose between one of these if you are not using LTPA.
- OAuth tokens are smaller in size, so there is less data to transmit. However, OAuth tokens require a round trip to the IdP to validate it for each unique user
- OIDC tokens are signed. Signing key can be retrieved once from IdP and used to validate all OIDC tokens generated by that IdP w/o a separate round-trip for all users
- Remember that some of the Relying Party interceptor configuration settings depend on whether an OAuth or OIDC token is propagated. So if you change it here, remember to change it there as well.
To specify which authentication token is propagated to CPE, set these JVM options on your CPE client application (e.g. ICN or GQL)
- Propagate LTPA token for all IdPs
- -Dcom.filenet.authentication.wsi.AuthTokenOrder=ltpa,oauth or
- -Dcom.filenet.authentication.wsi.AuthTokenOrder=ltpa,oidc
- Propagate OIDC token for all IdPs
- -Dcom.filenet.authentication.wsi.AuthTokenOrder=oidc,ltpa
- Explicitly set the Propagation Token for each IdP by using the IdP Identifier as part of the JVM option
- -Dcom.filenet.authentication.defaultWIMFileBasedRealm.AuthTokenOrder=ltpa,oauth
- -Dcom.filenet.authentication.UmsManagedUsers.AuthTokenOrder=ltpa,oidc
- -Dcom.filenet.authentication.ExShareUms.AuthTokenOrder=oauth,ltpa
- -Dcom.filenet.authentication.ExShareGID.AuthTokenOrder=oidc,ltpa
11. Relying Party Interceptor Settings
The Relying Party Interceptor settings are used to configure the connection to a given identity provider. This is the most complicated part of OAuth/OIDC configuration in WebSphere since each identity provider may require different configuration values. A full list of these properties can be found in
https://www.ibm.com/support/knowledgecenter/en/SSEQTP_9.0.5/com.ibm.websphere.base.doc/ae/csec_oidprop.html.To get to these settings in the WebSphere admin console, navigate to:
Security > Global security > Trust association > Interceptors > com.ibm.ws.security.oidc.client.RelyingParty
- Each distinct identity provider must follow the naming pattern of:
-
- provider_<n>, where <n> is a number starting at 1 and increments for each additional identity provider.
- All the properties specific to a given identity provider use the same provider_<n> prefix
-
- Obtain the set of OAuth/OIDC endpoints from IdP
- Note: Discovery endpoint not supported
- provider_1.authorizeEndpointUrl
- provider_1.tokenEndpointUrl
- provider_1.jwkEndpointUrl
-
- The <IdpID> used in the redirect URL registered with the IdP (e.g. https://cpe-host:9443/oidcclient/ExShareUms) corresponds to the identifier in IdP configuration
- provider_1.identifier = ExShareUms
-
- Use the clientId/clientSecret values obtained during registration with IdP
- provider_1.clientId
- provider_1.clientSecret
- If only a single IdP is going to be used, set these properties
-
- provider_1.useRealm (set for CPE, ICN, and GQL)
- Set to the Realm name under Security > Global security > User account repository
- e.g. provider_1.useRealm = defaultWIMFileBasedRealm
-
- provider_1.filter (set for CPE and GQL)
- Set a filter so that all requests with Bearer token will be authenticated using this OAuth/OIDC configuration
- e.g. provider_1.filter = Authorization%=Bearer
or
-
-
- Set a filter to match client requests from a specific authentication realm
- e.g. provider_1.filter = auth-token-realm%=defaultWIMFileBasedRealm
-
- provider_1.interceptedPathFilter (set only for ICN)
- Set path filter to navigator application
- e.g. provider_1.interceptedPathFilter = /navigator.*
- If multiple IdPs are going to be used, set these properties
-
- provider_1.useRealm (set for CPE, ICN, and GQL)
- Set to the same value as identifier
- e.g. provider_1.useRealm = ExShareUms
-
- provider_1.filter
- For ICN, set filter to match a Cookie with IdP identifier name
- e.g. provider_1.filter = Cookie%=ExShareUms
- For CPE and GQL, set filter to match a http header with IdP identifier name
- e.g. provider_1.filter = auth-token-realm%=ExShareUms
- Set the following properties depending on the type of authentication token being accepted or propagated
-
- provider_1.useJwtFromRequest (set for CPE, ICN, and GQL)
- For OAuth, set to no
- e.g. provider_1.useJwtFromRequest = no
- For OIDC, set to ifPresent
- e.g. provider_1.useJwtFromRequest = ifPresent
-
- provider_1.mapIdentityToRegistryUser (ICN only)
- If using LTPA SSO from ICN to CPE, set this property to true
- e.g. provider_1.mapIdentityToRegistryUser = true
-
- provider_1.verifyIssuerInIat (CPE only, if required by IdP e.g. IbmId)
- For OAuth, set to false
- e.g. provider_1.verifyIssuerInIat = false
- For OIDC, set to true
- e.g. provider_1.verifyIssuerInIat = true
- Set this property to enable OIDC across multiple clusters when authenticating to an identity provider. This should be set browser based clients such as ICN and CS GraphQL when using the interactive user interface.
- provider_<id>.createSession=true
12. Example Relying Party Interceptor Settings
The following sections demonstrate settings for different identity providers and different applications (i.e. CPE, ICN, or CS GraphQL).
The primary difference for each of these providers is the
filter. The filter is used to select which identity provider configuration to use for a given incoming request.
When the ICN IdP login dialog is used, a
cookie is set that contains the name of the authentication realm. Hence, each of the ICN provider settings use a filter based on a cookie value that identifies the authentication realm.
CPE and the CS GraphQL API expect a Bearer token to be propagated on the HTTP Authorization header along with a special header set by the CE API that specifies the authentication realm. Hence, these provider settings use a filter based on the
auth-token-realm HTTP header value.
The authentication realms in this example are:
- defaultWIMFileBasedRealm - Realm that corresponds to the ldap server defined in WebSphere that is used in CPE/ICN/GQL for users internal to the organization (e.g. employees)
- UmsManagedUsers - Realm that does not use an ldap server for users internal to the organization (e.g. employees). Instead, as users log in, they are self-provisioned
- ExShareUMS - Realm for users outside the organization (e.g. non-employees) that are authenticated with a UMS identity provider. These are users to whom documents are shared with using the External Share feature.
- ExShareGID - Realm for users outside the organization (e.g. non-employees) that are authenticated with Google Sign In These are users to whom documents are shared with using the External Share feature.
Below is a summary of each of the provider examples along with its authentication realm and the OAuth/OIDC clientId registered with the Identity Provider. Note that the clientId might be specified by the Identity Provider (e.g. Google Sign-In) or you may specify your own value as part of registering the application with the identity provider.
provider_1 : Interactive Content Services GraphQL UI for Internal Users (realm: defaultWIMFileBasedRealm, clientId: UmsInternalUsers)
provider_2 : CPE for Internal Users (realm: defaultWIMFileBasedRealm, clientId: UmsInternalUsers))
provider_3 : ICN for Internal Users (realm: defaultWIMFileBasedRealm, clientId: UmsInternalUsers)
provider_4: ICN for Internal Managed Users (realm: UmsManagedUsers, clientId: UmsManagedUsers)
provider_5: CPE for Internal Managed Users (realm: UmsManagedUsers, clientId: UmsManagedUsers)
provider_6: ICN for UMS External Managed Users (realm: ExShareUms, clientId: ExShareUms)
provider_7: CPE for UMS External Managed Users (realm: ExShareUms, clientId: ExShareUms)
provider_8: ICN for Google External Managed Users (realm: ExShareGID, clientId: xxxx.apps.googleusercontent.com)
provider_9: CPE for Google External Managed Users (realm: ExShareGID, clientId: xxxx.apps.googleusercontent.com)
privider_10: Content Services GraphQL API for Internal Users (realm: defaultWIMFileBasedRealm, clientId: UmsInternalUsers)
12.1 Interactive GraphQL for Internal Users in local LDAP
The filter for this provider configuration will allow requests containing content-services, but not graphql. This is the endpoint used by the iGraphQL User Interface that can be enabled for testing purposes using the -Dcom.ibm.ecm.content.graphql.enable.graphiql=TRUE JVM option on the CS GraphQL servers.
Name
|
Value
|
provider_1.authorizeEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/authorize
|
provider_1.tokenEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/token
|
provider_1.introspectEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/introspect
|
provider_1.jwkEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/jwk
|
provider_1.issuerIdentifier
|
https://IDPUMS1.foo.com:9444/oidc/endpoint/ums
|
provider_1.signatureAlgorithm
|
RS256
|
provider_1.identifier
|
UmsInternalUsers
|
|
|
|
|
|
|
provider_1.filter
|
request-url%=content-services;request-url!=graphql
|
provider_1.useJwtFromRequest
|
|
provider_1.userIdentifier
|
sub
|
provider_1.uniqueUserIdentifier
|
sub
|
|
|
|
|
provider_1.mapIdentityToRegistryUser
|
true
|
provider_1.createSession
|
true
|
12.2 CPE for Internal Users in local LDAP
This provider configuration is used by CPE to receive requests from CPE API clients such as ICN and CS GraphQL in the default internal authenticaiton realm. The CPE API automatically sets the auth-token-realm HTTP header value to the authentication realm in the CPE API client. So when a user signs onto ICN, for example, in the defaultWIMFileBasedRealm, that realm name is passed on the auth-token-realm header.
Note that this same provider configuration can also be used by the CS GraphQL API if its client sends a HTTP header: auth-token-realm with a value matching this realm name (e.g. defaultWIMFileBasedRealm).
|
|
provider_2.authorizeEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/authorize
|
provider_2.tokenEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/token
|
provider_2.introspectEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/introspect
|
provider_2.jwkEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/jwk
|
provider_2.issuerIdentifier
|
https://IDPUMS1.foo.com:9444/oidc/endpoint/ums
|
provider_2.signatureAlgorithm
|
|
provider_2.identifier
|
UmsInternalUsers
|
|
|
|
|
|
|
|
auth-token-realm%=defaultWIMFileBasedRealm
|
provider_2.useJwtFromRequest
|
|
provider_2.userIdentifier
|
sub
|
provider_2.uniqueUserIdentifier
|
|
provider_2.scope
|
openid email
|
provider_2.audiences
|
ALL_AUDIENCES
|
12.3 ICN for Internal Users in local LDAP
This provider configuration is used by ICN when its IdP login dialog is used to choose among different identity providers with which to authenticate. Selecting a particular identity provider on this login dialog will set a cookie containing the authentication realm name associated with that identity provider. So selecting the Authenticate with UMS-Internal-LDAP button will create a cookie with a name containing the defaultWIMFileBasedRealm realm.
Note that these settings are identical to Interactive GraphQL for internal users except for the filter.
|
|
provider_3.authorizeEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/authorize
|
provider_3.tokenEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/token
|
provider_3.introspectEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/introspect
|
provider_3.jwkEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/jwk
|
provider_3.issuerIdentifier
|
https://IDPUMS1.foo.com:9444/oidc/endpoint/ums
|
provider_3.signatureAlgorithm
|
|
provider_3.identifier
|
UmsInternalUsers
|
|
|
|
|
|
|
|
Cookie%=defaultWIMFileBasedRealm
|
provider_3.useJwtFromRequest
|
|
provider_3.userIdentifier
|
|
provider_3.uniqueUserIdentifier
|
|
|
|
|
|
provider_3.mapIdentityToRegistryUser
|
|
|
|
12.4 ICN for Internal Managed Users
This provider configuration is used by ICN when selecting the identiy provider for the internal managed user authentication realm. So selecting the Authenticate with UMS-Internal-Managed button will create a cookie with a name containing the UmsManagedUsers realm.
|
|
provider_4.authorizeEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/authorize
|
provider_4.tokenEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/token
|
provider_4.introspectEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/introspect
|
provider_4.jwkEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/jwk
|
provider_4.issuerIdentifier
|
https://IDPUMS1.foo.com:443/oidc/endpoint/ums
|
provider_4.signatureAlgorithm
|
RS256
|
provider_4.identifier
|
UmsManagedUsers
|
|
|
|
|
|
|
|
|
provider_4.useJwtFromRequest
|
|
provider_4.userIdentifier
|
|
provider_4.uniqueUserIdentifier
|
|
|
|
|
|
provider_4.mapIdentityToRegistryUser
|
|
|
|
12.5 CPE for Internal Managed Users
This provider configuration is used by CPE to receive requests from CPE API clients such as ICN and CS GraphQL for the UmsManagedUsers realm.
|
|
provider_5.authorizeEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/authorize
|
provider_5.tokenEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/token
|
provider_5.introspectEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/introspect
|
provider_5.jwkEndpointUrl
|
https://idpums1.foo.com/oidc/endpoint/ums/jwk
|
provider_5.issuerIdentifier
|
https://IDPUMS1.foo.com:443/oidc/endpoint/ums
|
provider_5.signatureAlgorithm
|
|
provider_5.identifier
|
UmsManagedUsers
|
|
|
|
|
|
|
|
auth-token-realm%=UmsManagedUsers
|
provider_5.useJwtFromRequest
|
|
provider_5.userIdentifier
|
|
provider_5.uniqueUserIdentifier
|
|
|
|
|
|
12.6 ICN for External Managed Users via UMS (aka External Share)
This provider configuration is used by ICN when selecting a UMS identiy provider for external share. So selecting the Authenticate with UMS-External button will create a cookie with a name containing the ExShareUms realm.
|
|
provider_6.authorizeEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/authorize
|
provider_6.tokenEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/token
|
provider_6.introspectEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/introspect
|
provider_6.jwkEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/jwk
|
provider_6.issuerIdentifier
|
https://IDPUMS1.foo.com:9445/oidc/endpoint/ums
|
provider_6.signatureAlgorithm
|
|
|
|
|
|
|
|
|
|
|
|
provider_6.useJwtFromRequest
|
|
provider_6.userIdentifier
|
|
provider_6.uniqueUserIdentifier
|
|
|
|
|
|
provider_6.mapIdentityToRegistryUser
|
|
|
|
12.7 CPE for External Managed Users via UMS (aka External Share)
This provider configuration is used by CPE to receive requests from CPE API clients such as ICN and CS GraphQL for the ExShareUms realm.
|
|
provider_7.authorizeEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/authorize
|
provider_7.tokenEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/token
|
provider_7.introspectEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/introspect
|
provider_7.jwkEndpointUrl
|
https://idpums1.foo.com:9445/oidc/endpoint/ums/jwk
|
provider_7.issuerIdentifier
|
https://IDPUMS1.foo.com:9445/oidc/endpoint/ums
|
provider_7.signatureAlgorithm
|
|
|
|
|
|
|
|
|
|
|
auth-token-realm%=ExShareUms
|
provider_7.useJwtFromRequest
|
|
provider_7.userIdentifier
|
|
provider_7.uniqueUserIdentifier
|
|
|
|
|
|
12.8 ICN for External Managed Users via Google (aka External Share)
This provider configuration is used by ICN when selecting Google as the identiy provider for external share. So selecting the Authenticate with Google-External button will create a cookie with a name containing the ExShareGID realm.
|
|
provider_8.authorizeEndpointUrl
|
https://accounts.google.com/o/oauth2/v2/auth
|
provider_8.tokenEndpointUrl
|
https://oauth2.googleapis.com/token
|
provider_8.introspectEndpointUrl
|
https://oauth2.googleapis.com/token
|
provider_8.jwkEndpointUrl
|
https://www.googleapis.com/oauth2/v3/certs
|
provider_8.issuerIdentifier
|
https://accounts.google.com
|
provider_8.signatureAlgorithm
|
|
|
|
|
xxxx.apps.googleusercontent.com
|
|
|
|
|
|
|
provider_8.useJwtFromRequest
|
Note: Google Sign-In must use OIDC. OAuth is not supported.
|
provider_8.userIdentifier
|
|
provider_8.uniqueUserIdentifier
|
|
|
|
|
|
12.9 CPE for External Managed Users via Google (aka External Share)
This provider configuration is used by CPE to receive requests from CPE API clients such as ICN and CS GraphQL for the ExShareGID realm.
|
|
provider_9.authorizeEndpointUrl
|
https://accounts.google.com/o/oauth2/v2/auth
|
provider_9.tokenEndpointUrl
|
https://oauth2.googleapis.com/token
|
provider_9.introspectEndpointUrl
|
https://oauth2.googleapis.com/token
|
provider_9.jwkEndpointUrl
|
https://www.googleapis.com/oauth2/v3/certs
|
provider_9.issuerIdentifier
|
https://accounts.google.com
|
provider_9.signatureAlgorithm
|
|
|
|
|
xxxx.apps.googleusercontent.com
|
|
|
|
|
|
auth-token-realm%=ExShareGID
The value after auth-token-realm%= must match the realm name set in ICN for this same provider via the provider_n.useRealm property.
For example, in ICN Relying Party Interceptor settings:
provider_8.useRealm = ExShareGID
|
provider_9.useJwtFromRequest
|
Note: Google Sign-In must use OIDC. OAuth is not supported.
|
provider_9.userIdentifier
|
|
provider_9.uniqueUserIdentifier
|
|
|
|
|
xxx.apps.googleusercontent.com
|
provider_9.verifyIssuerInIat
|
true
|
provider_9.allowImplicitClientFlow
|
true
|
12.10 CS GraphQL API for Internal Users in local LDAP
The filter for this provider configuration will allow requests for the CS GraphQL API non-interactive endpoint that will use a propagated Bearer token for authentication. The filter excludes requests with auth-token-realm header. Hence, it is basically the default configuration used for incoming requests for the internal user realm defaultWIMFileBasedRealm.
Name
|
Value
|
provider_10.authorizeEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/authorize
|
provider_10.tokenEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/token
|
provider_10.introspectEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/introspect
|
provider_10.jwkEndpointUrl
|
https://idpums1.foo.com:9444/oidc/endpoint/ums/jwk
|
provider_10.issuerIdentifier
|
https://IDPUMS1.foo.com:9444/oidc/endpoint/ums
|
provider_10.signatureAlgorithm
|
RS256
|
provider_10.identifier
|
UmsInternalUsers
|
|
|
|
|
|
|
provider_10.filter
|
request-url%=content-services/graphql;auth-token-realm!=UmsManagedUsers;auth-token-realm!=ExShareUms;auth-token-realm!=ExShareGID
|
provider_10.useJwtFromRequest
|
|
provider_10.userIdentifier
|
sub
|
provider_10.uniqueUserIdentifier
|
sub
|
|
|
|
|
provider_10.mapIdentityToRegistryUser
|
true
|
13 Troubleshooting
Enable trace logging in WebSphere admin console under:
- Troubleshooting > Logs and trace > server name > Diagnostic trace > Change log detail levels
- If troubleshooting SSO authentication, enable these options
- *=info: com.ibm.oauth.*=all: com.ibm.ws.security.*=all
- If troubleshooting CS Graph QL and SSO authentication, enable these options
- *=info: com.ibm.ecm.content.graphql.*=finest: com.ibm.oauth.*=all: com.ibm.ws.security.*=all
References
- How to Configure LTPA/OAuth/OIDC SSO between ICN and CPE on WebSphere traditional application server: https://community.ibm.com/community/user/automation/blogs/roger-bacalzo1/2020/12/17/how-to-configure-sso-between-icn-and-cpe
- FileNet P8 Platform 5.5.x (V5.5.4 and later) Configuring users with an identity provider: https://www.ibm.com/docs/en/filenet-p8-platform/5.5.x?topic=users-v554-later-configuring-identity-provider
- FileNet P8 Platform 5.5.x (V5.5.5 and later) Configuring external users with an Identity Provider for a traditional WebSphere Application Server environment: https://www.ibm.com/docs/en/filenet-p8-platform/5.5.x?topic=vlcuip-v555-later-configuring-external-users-identity-provider-traditional-websphere-application-server-environment
- WebSphere OpenID Connect Relying Party custom properties: https://www.ibm.com/docs/en/was/9.0.5?topic=party-openid-connect-relying-custom-properties
- SAML TAI filter property: https://www.ibm.com/docs/en/was/9.0.5?topic=swss-saml-web-single-sign-sso-trust-association-interceptor-tai-custom-properties#rwbs_samltaiproperties__samltaifilterprop
- Examples: OpenID Connect, Liberty and WebSphere traditional: https://www.ibm.com/support/pages/examples-openid-connect-liberty-and-websphere-traditional
- Troubleshoot: OpenID Connect, WebSphere traditional: https://www.ibm.com/support/pages/troubleshoot-openid-connect-websphere-traditional
- Configuring Intelligent Managem for web servers: https://www.ibm.com/docs/en/was-nd/9.0.5?topic=overview-configuring-intelligent-management-web-servers