Amazon Cognito

Amazon Cognito is a secure search method that authenticates users through your Cognito user pool using OIDC. Only authorized Amazon Cognito users can access the search page, providing a protected way to perform searches within SearchBlox.

Security

The Security page in the Admin Console allows you to configure how users authenticate and access search results in SearchBlox.

Security Setting

Choose the overall access mode for the search page:

  • Public — The search page can be accessed with or without authentication. Both public and private collections are searchable based on their individual access settings.
  • Private — Only authenticated users can access the search page. Private and public collections are searchable for authorized users.

Security Type

SearchBlox supports multiple authentication realms/providers for secure search, including SearchBlox Realm, LDAP/AD Realm, OKTA, Amazon Cognito, Microsoft Entra ID, Google Workspace, Generic OIDC, and Generic SAML.

To configure Amazon Cognito as the authentication provider:

  1. Go to the Security tab in the Admin Console.
  2. Under Security Type, select Amazon Cognito.

Amazon Cognito authenticates users through your Cognito user pool (OIDC).

Amazon Cognito Settings

Enter the required Amazon Cognito configuration details in the available fields:

FieldDescription
AWS RegionThe AWS region hosting your Cognito user pool. Select from the dropdown.
User Pool IDThe Cognito user pool identifier (e.g., us-east-1_abc123).
App Client IDThe Cognito app client ID.
App Client SecretThe Cognito app client secret. Leave blank to keep the currently stored secret.
Hosted UI DomainThe Cognito hosted-UI domain used for the OAuth authorize/token URLs (Optional) (e.g., your-domain.auth.us-east-1.amazoncognito.com).
Callback URLThe redirect URL SearchBlox uses after authentication (e.g., https://demo1.searchblox.com/sso/callback/cognito). This URL must be added to your Cognito app client's allowed callback URLs.
Username ClaimThe claim used to map the authenticated user's username. Default: cognito:username.
Email ClaimThe claim used to map the authenticated user's email address. Default: email.
Groups ClaimThe claim used to map the authenticated user's groups for group-based access. Default: cognito:groups.

Once the required fields are configured:

  1. Click Test Connection to verify the configuration.
  2. Click Save to store the Amazon Cognito settings.

Note: Ensure the Callback URL shown in SearchBlox is added to the allowed callback URLs list in your Cognito App Client settings, or authentication redirects will fail.


Did this page help you?