Concurrent User Sessions
When an enterprise uses an identity service in the Fabric app, it would want to have control over how to handle concurrent logins. For example, a banking enterprise may not want the same user to log in concurrently from different channels of the app.
Quantum Fabric provides a series of options to control concurrent user sessions. You can access the Concurrent User Logins functionality in the Advanced section of an identity service definition page.
Use Case One: For a banking enterprise, you (app developer) are building a retail banking app and have linked an identity service (for example, Microsoft Active Directory) with a Fabric app and built client app for different channels (Android, iOS, and Web). If the app user can log in to Android and decides to login into Web app by default user session would be working in both the channels. However, for better security you may want to restrict the user session to be active only in one channel then you can use the options available in the Concurrent User Logins section. By using the options in this section you can have the user session in Android invalidated once the user logs into Web session.
Use Case Two: For the same banking enterprise in next stage you plan to build a consumer lending application. You create a new Fabric application and link the same identity service used in retail banking app and build the client application for multiple channels. In this case for better security if you want to restrict the app user to login to only one of the user applications (for example, if the user logs into a retail banking application and then wanted to check his loans using consumer lending application you want to invalidate the retail banking application session), you can use the options available in the Concurrent User Logins section.
In the Concurrent User Logins section, you can select any one of the following three options to configure user sessions:
- Allow concurrent user sessions (no restrictions): When this option is selected, an app user with unique credentials is allowed to have multiple apps from different instances.
- Allow only one active user session per app: Logging into simultaneous instances of the same app is not supported. When this option is selected, an app user can log in to only one instance of client apps linked to a specific Fabric app which has the identity service linked. If the same user tries to log in to another instance of the same app, the previous sessions of the user belonging to the same app and identity service combination are invalidated. Use Case One can be achieved using this option.
User Session uniqueness is determined by a combination of Fabric apps, an identity service, and a user.IMPORTANT: Apps enabled for SSO will not work if the option is selected, Allow only one active user session per app.
- Allow only one active user session across all apps: Logging to simultaneous instances of the same app or across apps is not supported. When this option is selected, a unique app user can log in to only one instance of client apps linked to all Fabric apps using the identity service. If the same user tries to log in to another instance of the same app or different app, the previous sessions of the user are invalidated. Use Case Two described can be achieved using this option.
User Session Uniqueness is a combination of Fabric apps and a user.IMPORTANT: Apps enabled for SSO will not work if the option is selected, Allow only one active user session across all apps.
The following tables provide detailed information on Concurrent User Logins.
How to Configure Concurrent User Active Sessions for Apps
- Log in to Quantum Fabric Console.
-
In the Apps, click ADD NEW to create an app.
- In the Configure Services tab > Identity service tab > click CONFIGURE NEW.
- In the service designer page of the identity service, configure the required details.
- Click the Advanced section > Concurrent User Logins section, select one of the following options:
- Allow concurrent user sessions (no restrictions).
- Allow only one active user session per app
- Allow only one active user session across all apps.
- Click SAVE to save the service details.