Search Results :

×

Steps to setup Cognito Integrator Addon

Steps to setup Cognito Integrator Addon


Wordpress Cognito Integrator Addon 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, WordPress Cognito integrator 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 WordPress Cognito Integrator add-on with OAuth Single Sign-On (SSO) plugin

  • Activate the Cognito Integration Addon along with the paid version of WP OAuth Client Single Sign-On (SSO) plugin.
  • aws cognito single sign on wordpress 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 wordpress integration-select-app
  • We need to configure the AWS Admin Access Key ID and its Secret Key.
  • aws cognito single sign on wordpress 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 wordpress 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.
  • aws cognito single sign on wordpress integration-admin-key
  • 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.
  • aws cognito single sign on wordpress integration-admin-key
  • 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 wordpress integration-user-pool
  • Go to the App clients tab in your Cognito User Pool and click on Add an app client option.
  • aws cognito single sign on wordpress integration-add-client
  • Enter the required details and make sure the checkboxes for Generate Client Secret, Enable Username Password Auth and Enable username password auth for admin APIs for authentication are enabled. Scroll down to the bottom and click on the Create app client button to save the app.
  • aws cognito single sign on wordpress 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 wordpress 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 wordpress 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 wordpress integration-successful-configuration
  • Configure the attribute mapping according to the attributes received from Cognito.
  • aws cognito single sign on wordpress 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 wordpress integration-attribute-mapping

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


Following are the WordPress Cognito Integrator use cases that we support


Seamless User Management with Cognito User Pool Integration
Learn More
Sync User Memberships to Cognito Pool with WP Cognito Integration
Learn More
WP 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 WP 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
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com