With the Enhanced User Repository identity service, you can create multiple instances in the same account. An instance of the User Repository type can contain a custom set of users. You can use one service for authentication of multiple apps, use them individually, or share the service across multiple apps.
Admins
and Members
are the default groups available in each User Repository identity service instance. A user must be part of a group in an instance. By default, all users are associated to the Members group. This authentication service works in the same norms as other Kony Fabric services.
For example, you have created two apps: Employees
and citizenIDStore
. Now you want to create separate login credentials for these apps and publish these apps to one environment in the same account. So the individual set of users can access only the authenticated apps from that account. You can use the User Repository Identity Service type to achieve this.
EmployeeUserRepository
identity service instance and associate it to the Employees
app and publish the app to a Staging
environment. Now all users in the EmployeeUserRepository
can only access the Employees
app from the Staging environment, in that account. citizenUserRepository
and associate it to the citizenIDStore
app and publish the app to the Staging environment. Now all users in the citizenUserRepository
can only access the citizenIDStore
app from a Staging environment.Note: Users from a particular User Repository can only access the app associated with it.
The following flow diagram explains the usage of User Repository authentication in Kony Fabric.
Note: NTLM authentication is not supported by User Repository identity service.
To configure an identity service using User Repository, follow these steps:
Note: For more details on Identity Service Designer page, refer to Identity service designer.
Important: Apps enabled for SSO will not work if the option is selected, Allow only one active user session across all apps.
The Users List page appears with the IMPORT USERS and ADD USERS buttons, which you can use to add users or import users into the User Repository identity service.
To add a user to the User Repository, follow these steps:
If you have not selected any group, the user is added to the Members group by default.
Note: For more details on how to use Groups, refer to Using Groups in an App.
You can add another user by repeating these steps above in the procedure.
You can add multiple users to the Kony Fabric console through a CSV file in the Import Users window.
To import users to a User Repository, follow these steps:
You can import multiple users either by using the sample template provided in a .CSV file format or similar to the template.CSV
file. The .CSV file must include all the headers such as Email, First Name, Last Name, Password, Phone, Status, and Groups. It is mandatory that the .CSV file contains all the Required Fields (Email, First Name, Last Name, Password, and Phone.)
Note: Data entered in your .CSV file should have all the following mandatory fields. You can use alphanumeric and special characters to fill the data for each field as follows:
Note: Data entered in your .CSV file can have all the following optional fields:
Users enter the pending state in one of the following ways:
Users enter the active state by an admin/user action or due to a policy on provider as default active when logged in to MBaaS.
Blocked is typically an automated action by an authentication service based on policies such as nonconsecutive log-ins.
Users can be reactivated through an admin action, with a policy that is auto-enabled after 24 hours, or via answers to secret questions.
sample.CSV
file downloads into your local system.Click the Browse button to browse and upload your CSV file.
After you select a CSV file, the system shows the file name. If no file is selected, its status is set to No file selected
Note: The Import button is made available only after you upload your .CSV file.
The system will validate your CSV file for the following:
Unsupported File type
.Selected file is too Hilarge. Size limit is 75KB.
Important: If you click Continue, the system successfully imports only users with correct data into the console. An error.csv file contains only users fields with invalid data and corresponding error messages.
Click Save. The system saves the error.csv in your browser's default download location. For example, in Firefox, the system prompts you to save or open the file.
The following is a list of error messages for each field:
Field With Wrong Data | Error Message Displayed |
---|---|
Email - for example, sample_email |
|
First Name - for example, && |
|
Last Name - for example, && |
|
Phone - for example, 12346753abc |
|
Password - for example, passw |
|
Status - for example, my status |
|
You can export the existing users of the user repository to an .CSV file. The .CSV file contains users with record level data in a tabular form such as Email, First Name, Last Name, Password, Phone, Status, and Groups.
Note: When you export users from a user repository, the content of the Password field is not exported.
Note: Maximum 10000 users can be exported at a time.
You can import users from the exported .CSV file into another user repository identity service. Before importing the .CSV, ensure that you must fill password for all users in the .CSV file.
To export users of the User Repository to an Excel file, do the following:
To edit a user from the User Repository, follow these steps:
Important: When you click Clone, the system generated new name appears for the cloned identity service, in the list. The new name remains in the edit mode until you click anywhere else on the screen. If you want, you can rename it. Changes made to a cloned identity service will not impact the original service.
If you have used User Repository identity service to authenticate and build your app by using MF-SDKs, and if you forgot your password to access the app, you can reset your password based on your registered email ID. Refer to Reset Password for Authentication based on User Repository Identity Service
Note: For more information on how you can integrate Kony OAuth Provider, User Repository, and OAuth 2.0 Identity services to create a basic login form, refer to a Base Camp article: Exploring Kony OAuth Provider.
Copyright © 2020 Kony, Inc. All rights reserved. |