Follow these steps to configure Mobile Muli-Factor Authentication.
Before you begin
Ensure that the following requirements are met:
- The IBM® Verify Identity Access Platform and
Advanced Access Control Module are activated.
- The runtime component and a reverse proxy instance are configured.
- Basic User support is enabled on the local LDAP.
- Transparent path junction to /scim on localhost is configured.
- BA with easuser enabled
- isam_mobile_rest ACL attached to /scim (ACL won't exist
until step 2)
- Username Password Mechanism is configured.
- Server connection to local LDAP is set up.
- SCIM is configured with local LDAP server connection dc=iswga suffix.
Procedure
-
Create an API Protection definition and client with:
- Authorization code and ROPC enabled
- Redirect URI:
https://<webseal_hostname>:<port>/mga/sps/mmfa/user/mgmt/html/mmfa/qr_code.html?client_id=<client_ID>
Note:
The redirect URI is essential so that when a user clicks the Register
Authenticator button in the USC UI, the user is correctly redirected to the QR Code
page.
-
Run the Reverse Proxy MMFA Config API.
This step configures the /mga junction and creates the required ACLs.
- Open the Reverse Proxy page in the LMI .
- Select the reverse proxy instance to configure and click .
- Enter the required values in the dialog fields and click Finish.
-
Run the AAC MMFA Config API.
This step configures the reverse proxy details into a location where the AAC code can access
it.
- Open the MMFA Configuration page in the LMI .
- Click the Wizard button.
- Enter the required values in the dialog fields and click Save.
-
For custom authentication tokens complete the following steps to store the token as a hashed value:
- Set the advanced configuration property oauth20.hashedTokenStorageEnabled
to true.
- Open the advanced configuration page in the LMI AAC Global Settings Advanced Configuration.
- Select the oauth20.hashedTokenStorageEnabled property and click Edit.
- Select the Enabled checkbox and click Save.
- Update the PreTokenGeneration mapping rule to set the custom token as persistent.
- Open the mapping rules page in the LMI AAC Global Settings Mapping Rules.
- Open the PreTokenGeneration mapping rule that corresponds to the correct API Protection Definition.
- Set the var enable_custom_tokens variable to true:
var enable_custom_tokens = true;
- Add the new line of code in the specified location. This ensures that the access token is persisted correctly.
if (enable_custom_tokens) {
if (populate_access_token && enable_custom_access_tokens) {
// Add this new line of code
stsuu.addContextAttribute(new Attribute("urn:ibm:ITFIM:oauth20:custom:token:access_token", "urn:ibm:ITFIM:oauth20:custom:token:persistent", "true"));
}
}