Search Results :

×

Steps to setup Cognito Integrator Addon


Cognito Integrator Addon for WordPress helps you to login from the Wordpress default login form with the AWS cognito login credentials. It is useful when you don't want the users to redirect to the cognito login page.During the login event, Cognito integrator for WordPress creates the users in WordPress as per the Attribute and Role Mapping configured in the OAuth Single Sign-On (SSO) plugin and logs them in subsequently.



Pre-requisites : Download And Installation

  NOTE: To set up the Cognito Integrator Addon , you need the OAuth Single Sign-On (SSO) plugin Premium version.

1. Steps to configure Cognito Integrator add-on for WordPress with OAuth Single Sign-On (SSO) plugin

  • Activate the Cognito Integration Addon along with the paid version of OAuth Client Single Sign-On (SSO) plugin for WordPress.
  • aws cognito single sign on integration-installation
  • Now go to the OAuth Single Sign-On (SSO) plugin and scroll down to find the Cognito Integrator application listed and click on it.
  •  aws cognito single sign on integration-select-app
  • We need to configure the AWS Admin Access Key ID and its Secret Key.
  • aws cognito single sign on integration-save-ids
  • Login to your AWS dashboard as root user and go to the My Security Credentials option form your profile.
  • aws cognito single sign on integration-login
  • You can use your existing admin keys if you already have them created. Otherwise go to the Access Keys section and click on the Create New Access Key button.
  • You will see the keys on your screen. Please download them for future use if any.
  • Now configure these keys in the OAuth Single Sign-On (SSO) plugin under the fields AWS Access Key ID and AWS Secret Access Key respectively.
  • Now go to your Cognito User pool and copy the Pool Id from the General Settings tab. Save this Id in the Cognito User Pool ID field in the OAuth Single Sign-On (SSO) plugin.
  • aws cognito single sign-on integration-user-pool
  • Go to the App clients tab in your Cognito User Pool and click on Create app client option.
  • aws cognito single sign on integration-add-client
  • Enter the App Client name and enable the checkbox for Generate Client Secret.
  • aws cognito single sign on integration-enter-details
  • Scroll down to the Authentication Flows section and select all the flows as shown in the below image.
  • aws cognito single sign on integration-enter-details
  • Scroll down to the bottom and click on the Create app client button to save the app
  • aws cognito single sign on integration-enter-details
  • Now copy the App client Id and App client secret of the app and save to the OAuth Single Sign-On (SSO) plugin.
  • aws cognito single sign on integration-client-secret
  • Enter your AWS Region in the OAuth Single Sign-On (SSO) plugin and click on Save Settings button.
  • aws cognito single sign on integration-rsion
  • In the test configuration section of the OAuth Single Sign-On (SSO) plugin, enter the cognito login username and password and click on the Test Configuration button which will show you the user attributes after the successful configuration.
  • aws cognito single sign on integration-successful-configuration
  • Configure the attribute mapping according to the attributes received from Cognito.
  • aws cognito single sign on integration-attribute-mapping
  • Now you are all set to login from the Wordpress login form with the cognito login credentials.

3. Auto register WordPress new user to Cognito pool

  • Select the checkbox if you want your WordPress newly registered user to be added to your AWS Cognito pool automatically.
  • Your cognito end users can sign in with an email/username along with the password.

    1. User pool configured to email- Select if you have enabled cognito users to use email and password to sign in.
    2. User pool configured to username- Select if you have enabled cognito users to use username and password to signing in.
  • aws cognito single sign on integration - attribute-mapping

In this Guide, you have successfully configured Cognito integrator Addon for WordPress using OAuth Single Sign-On (OAuth & OpenID Connect Client) plugin for WordPress.


Following are the Cognito Integrator use cases that we support


Seamless User Management with Cognito User Pool Integration
Learn More
Sync User Memberships to Cognito Pool with Cognito Integration for WordPress
Learn More
WordPress Login & Registration with Cognito in Custom Login Code
Learn More
Register & verify users via Cognito OTP on WooCommerce checkout
Learn More
Sync existing users from WordPress to Cognito user Pool
Learn More
Access Site with Cognito Creds & Custom Forms for WordPress
Learn More
AWS Cognito SSO and User Sync with WordPress and Woocommerce
AWS Cognito Single Sign-On (SSO) usecase
Learn More

Additional Resources

Need Help?

Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support