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.



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.
  • In this Guide, you have successfully configured WordPress Cognito integrator Addon using Wordpress OAuth Single Sign-On ( OAuth & OpenID Connect Client ) plugin.

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