Search Results :

×

AWS Cognito SSO and User Sync with WordPress and Woocommerce


A WordPress/WooCommerce site uses AWS Cognito to store its customer/user database. The site wants information about its newly registered users to be instantly synchronized with the AWS Cognito user pool. As both the WordPress site and the mobile application are linked with AWS Pool, all its registered users should easily log into the WooCommerce site using the same AWS Cognito credentials without any hassle.

How to register WordPress users with AWS Cognito and set up SSO?

  • Allow customers to use the same login credentials to access the WooCommerce store on mobile as well as the website.
  • Maintain consistency and accuracy in customer data across WooCommerce store, mobile app, and AWS Cognito.
  • Utilize AWS Cognito as a centralized hub for managing user authentication and access control.
  • Securely store user information from the WooCommerce store to AWS Cognito.

Use Case 1: Single Sign-On (SSO) + User Sync between WordPress and AWS Cognito


Environment Setup :

    1. WordPress Environment (Single Site/Multisite)

    2. AWS Cognito Pool as Identity Provider/User Store


Solution Flow Requirements :

    Admin is looking for SSO and User Sync functionality for their customers accessing their eCommerce site. They are looking to store their customer information into AWS Cognito. Let’s divide this requirement into separate flows.

    1. Registration (First time users/customer)

    2. Login (Second login onwards)

1. Registration :

    Admin wants users to register into WordPress using Register/Sign Up Form As soon as users put their information into WordPress form and hit the submit button, the user will be created into WordPress and at the same time it will create/sync users in AWS Cognito User Pool.

    Along with the user creation it will also sync some of the user attributes like Account No, WordPress role and basic information into AWS Cognito.


    Registration - SSO and User Sync between WordPress and AWS Cognito
    Registration and Update Flow from WP (Custom Form using form-builder - No redirection to Cognito for login) to AWS Cognito

2. Login (Single Sign-On using AWS Cognito) :

    Admin wants existing users to login into WordPress directly via Cognito credentials in WordPress Login form (Customized using form builder) without redirecting them to Cognito Sign-in form

    As soon as users put their Cognito login credentials into WordPress Login form and hit submit button, the user will get authenticated via AWS Cognito and on successful authentication it will allow user an access to WordPress site


    Login - SSO and User Sync between WordPress and AWS Cognito
    Login Flow for WP (Custom Form using form-builder - No redirection to Cognito for login) users using AWS Cognito as Identity Provider/User Store

Use Case 2: Single Sign-On (SSO) + User Sync between WooCommerce (Mobile App & Desktop App) and AWS Cognito


Environment Setup :

    1. WordPress Multisite Environment for eCommerce business on desktop and mobile application

    2. AWS Cognito Pool as Identity Provider/User Store


Solution Flow Requirements :

    Admin is looking to maintain a centralized user database to maintain the single set of credentials to access eCommerce sites on Desktop or Mobile applications.

    Let’s divide this requirement into separate flows.

    1. Registration (First time users/customer)

    2. Login (Second login onwards)


1. Registration (First time users/customer):

    On an eCommerce site when a customer registers to purchase a subscription via WooCommerce, the admin wants to create another account in AWS Cognito using the same credentials.


    Registration - SSO and User Sync between WooCommerce and AWS Cognito
    Registration Flow from WooCommerce to AWS Cognito

2. Login (Single Sign-On using AWS Cognito):

    Admin wants registered customers to login into Desktop or mobile applications using the same credentials. As soon as users/customers put their credentials into Login form and hit submit button, the user will get authenticated via AWS Cognito and on successful authentication it will allow user/customer an access to WordPress site.


    Login - SSO and User Sync between WooCommerce and AWS Cognito
    Login Flow for WooCommerce users using Cognito as Identity Provider/User Store

Additional Resources



Try a Free Demo








 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

Discover how miniOrange can help you
Sign up for a Demo to receive


  Overview of Plugin's Premium features

  Test Add-ons & 3rd-party integrations

  24*7 support with mail and Zoom call

  Get a guided demo from a Developer

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