Gatey – Login & SSO with Amazon Cognito
Drag-and-drop Amazon Cognito integration: 22-language screens, Single Sign-on, Multi-Factor Authentication, secure JWT tokens, and more.
Install in
Gatey provides a seamless integration with Amazon Cognito for secure, scalable authentication in WordPress. This plugin supports both dynamic WordPress sites and statically generated WordPress frontends.
Gatey is part of the WP Suite product family by Smart Cloud Solutions, Inc. WP Suite keeps WordPress as the CMS and editing layer, while optional connected features can extend selected workflows into modular AWS-backed services for identity, AI, APIs, workflows, protected routes, and static delivery. The free Gatey features described here do not require a WP Suite account or subscription; AWS services are used only where you configure them directly, such as your own Amazon Cognito user pool, or where you enable optional connected features.
Key features include:
– Amazon Cognito user pool login and registration
– Fully localized front-end Authenticator screens in 22 built-in languages, plus the shared WP Suite localization catalog, with JSON import/export for overriding matching text or adding languages site-wide
– Single Sign-On (SSO) integration with Social login, SAML, and OIDC providers
– Gutenberg block, Elementor widget, and shortcode support
– Multi-factor authentication (MFA)
– Profile editing and password reset features
– Secure API access with JWT or AWS IAM Signature authorization
– Role-based access control
You can find the plugin’s continuously expanding, detailed documentation at:
What’s on the site?
– Get Started guide — quick start, installation, first‑time setup.
– CSS/JS references — components, API, usage examples.
– Creating User Pools — step‑by‑step instructions with AWS CloudFormation / CDK scripts.
– Protecting static sites — full tutorial with point‑by‑point walkthroughs and AWS scripts.
This plugin is not affiliated with or endorsed by Amazon Web Services or the WordPress Foundation. All trademarks are property of their respective owners.
Free and Premium Usage Notice
Gatey works entirely offline and provides full login and registration functionality via your WordPress installation without requiring any registration or subscription.
Optional premium features (like advanced customization or frontend integrations) are only available after connecting your WordPress instance via a secure frontend-only JavaScript authenticator to our Gatey service. Registration and subscription are not required to use the core plugin functionality. All premium interactions happen client-side using standard AWS Amplify and Stripe components – no external PHP code is loaded or executed.
Machine-readable resources
- AI plugin manifest: https://wpsuite.io/.well-known/ai-plugin.json
- OpenAPI spec: https://wpsuite.io/.well-known/openapi.yaml
External Services
This plugin integrates with the following third-party services:
-
Amazon Cognito
- What it is & what it’s used for:
A managed user-identity and authentication service from Amazon Web Services (AWS). We use Cognito User Pools to handle user registration, login, multi-factor authentication (MFA), password resets, and JWT issuance. - What data is sent & when:
- Registration / Sign-up: username, email, and any required attributes are sent to Cognito for account creation.
- Sign-in / Authentication: username and password (and MFA code if enabled) are sent to Cognito for verification.
- Token exchange: on successful login, Cognito returns ID, access, and refresh tokens which are stored client-side for session management.
- Password reset & profile updates: relevant identifiers and new credentials or attributes are sent when users trigger those flows.
- Endpoints called:
https://cognito-idp.{region}.amazonaws.com/{userPoolId}- Other AWS API endpoints under the
amazonaws.comdomain.
- Links:
- Terms of Service: https://aws.amazon.com/service-terms/
- Privacy Policy: https://aws.amazon.com/privacy/
- What it is & what it’s used for:
-
Google reCAPTCHA v3
- What it is & what it’s used for:
A client-side bot-detection widget from Google that provides a score for interactions. We integrate reCAPTCHA v3 into the Authenticator block’s sign-up form by fetching a token in the browser. - What data is sent & when:
- Client-side only: the plugin’s JS calls
grecaptcha.execute()to retrieve a reCAPTCHA token and then includes that token in the sign-up request sent to Amazon Cognito. - Server-side verification: only happens if you configure a Pre-SignUp Lambda in your Cognito user pool that calls Google’s
siteverifyAPI with your secret key. That Lambda is wholly under your control—Gatey does not handle or store your secret.
- Client-side only: the plugin’s JS calls
- Configuration in WordPress:
- Enter your reCAPTCHA v3 Site Key in Settings General reCAPTCHA v3 Public Key.
- No Secret Key is required by the plugin.
- Links:
- About reCAPTCHA v3: https://www.google.com/recaptcha/about/
- Google Terms of Service: https://policies.google.com/terms
- Google Privacy Policy: https://policies.google.com/privacy
- What it is & what it’s used for:
-
WP Suite platform connection (optional; site/workspace linking & shared features)
- When it applies:
When you use WP Admin SmartCloud Connect your Site to WP Suite to link this WordPress site to a WP Suite workspace, or to switch/disconnect later. - What it’s used for:
Storing and retrieving Pro feature configuration (e.g., API/chatbot/feature settings) and enabling an admin-side preview experience so you can try Pro features in WP Admin before enabling them on the live site. - What data may be sent:
Minimal account/session data required for authentication, and minimal site/workspace linking data required to associate a WordPress site with a workspace (e.g., site/workspace identifiers and the site’s URL/domain). - Where it goes / how it’s called:
Secure HTTPS requests from the browser to WPSuite.io services (e.g. wpsuite.io and api.wpsuite.io). - Links:
- WPSuite.io Privacy Policy: https://wpsuite.io/privacy-policy
- WPSuite.io Terms of Use: https://wpsuite.io/terms-of-use
- When it applies:
-
Stripe (optional; subscription/purchase flow)
- When it applies: Only when the user opens the optional WP Suite subscription / purchase flow in the shared admin component.
- What it’s used for: Displaying hosted pricing/subscription UI for optional paid features.
- What data may be sent: Browser/session data required by Stripe to render the hosted purchase UI and process the purchase flow.
- Links:
- Terms: https://stripe.com/legal/consumer
- Privacy: https://stripe.com/privacy
Client-Side Libraries
- AWS Amplify Authenticator
- What it is & why we use it:
A React UI component library from the Amplify Framework. We embed its<Authenticator>component inside our Gutenberg block to render and manage the login/signup flows. - What it does:
- Renders sign-in, sign-up, MFA, and password-reset forms.
- Under the hood it calls the Amazon Cognito APIs (see External Services entry), but does not itself authenticate or store secrets.
- Docs & source:
- GitHub repo: https://github.com/aws-amplify/amplify-ui
- Docs: https://ui.docs.amplify.aws/react/connected-components/authenticator
- What it is & why we use it:
Trademark Notice
Amazon Web Services, AWS, and Amazon Cognito are trademarks of Amazon.com, Inc. or its affiliates.
Gatey is an independent open-source project and is not affiliated with, sponsored by, or endorsed by Amazon Web Services.
All references to “Amazon Cognito” are made purely to describe this plugin’s interoperability.
Source & Build
Public (free) source code:
All of the code that ships in this public ZIP (the “free” version) is published here: https://github.com/smartcloudsol/gatey
Shared WP Suite admin and localization:
The bundled WP Suite Hub admin originates from the wpsuite-admin/ module in https://github.com/smartcloudsol/smartcloud-wpsuite and is packaged under smartcloud-wpsuite/. It owns the site-wide custom translation catalog used by Gatey, AI-Kit, and Flow, alongside shared workspace linking, licence validation, and subscription management.
Premium-only features:
We maintain a fork of the AWS Amplify Authenticator (with Edit Account, Setup TOTP, etc.) and any additional paid-only screens and services in a private repository. Those files are not part of this public source.
Written by Joobi from the project's own listing. See the source page
2.6.15
- Restore the sign-in form and account actions when the browser has cached an older authentication module.
2.6.14
- Show an accessible loading indicator during sign-in, sign-out and redirects.
- Fix passkey MFA status and renew Site Guardian cookies after Cognito refreshes the access token.
2.6.13
- Show passkey sign-in progress immediately and prevent duplicate submissions.
2.6.12
- Load the smaller authentication SDK on regular pages and the full sign-in interface when needed.
- Renew Site Guardian signed cookies before returning to a protected page. Update the shared WP Suite Hub.
2.6.10
- Fix passkey MFA activation and status reporting. Keep existing preferences.
2.6.9
- Add passkey MFA opt-in for compatible pools with a passkey and another MFA method.
2.6.8
- Fix MFA code confirmation and update the Hub authentication bundle.
- Improve Hub ownership across WP Suite plugins.
2.6.7
- Support explicitly mapped WordPress editor permissions in Composer when WordPress login integration is enabled.
- Preserve assigned-draft ownership, OAuth restrictions and human publication approval.
2.6.6
- Load authenticator and account block renderers when used while preserving the global frontend API.
- Improve WordPress compatibility and shared administration dependencies.
- Bundle the coordinated WP Suite Hub 2.7.6 update.
2.6.5
- Improve update tracking for shared licence, configuration and translation assets.
2.6.4
- Fix sign-in initialization when a cached account no longer has an active authentication session.
- Clear outdated account display information without running sign-out actions during anonymous startup.
- Refresh compatible authentication UI and PHP token-validation dependencies.
- Update the shared WP Suite Hub and its UI dependencies.
2.6.3
- Improve account connection reliability and recovery in WP Suite Hub.
- Improve the reliability of Gatey account settings.
2.6.2
- Improve reliability and compatibility with WP Suite Hub 2.7.2.
2.6.1
- Improve the shared WordPress admin backend selectors and clarify production and development connection setup.
- Bundle WP Suite Hub 2.7.1 with separate profile drafts, connection-field guidance and existing stale-tab safeguards.
2.6.0
- Keep authentication storage and local Gatey settings separate when a supported shared-CMS backend profile is active.
- Validate the selected platform identity before authentication and reject stale settings writes after profile changes.
- Prevent development-backend login and logout from changing shared WordPress users, roles or sessions.
- Support explicit workspace API connections alongside legacy connections; update Gatey Core to 2.4.0 and shared Hub to 2.7.0.
2.5.1
- Static export: Declare Authenticator and shared theme styles safely before runtime initialization without applying them outside shadow roots.
- Verification: Cover bounded public Cognito signing-key retrieval, caching, rotation refresh and invalid responses.
- Compatibility: Bundle shared Hub 2.6.1 with improved translation-domain scoping and translator guidance.
2.5.0
- Fold connected service information into the Status card instead of a separate Pro-information box.
- Fix duplicate admin checkbox marks and detect the user pool region automatically and add optional Identity Pool setup with clear guidance for protected backend sign-in.
- Improve shared navigation alignment, connection details, inline help and setup field guidance.
- Keep Login & Access setup, status and detailed settings together, with replayable setup using saved values.
- Add contextual sign-in and account-block usage guidance, Patterns links and integrated help.
- Add shared product navigation and separate Platform Settings with reCAPTCHA, Styling and Translations tabs.
- Preserve existing admin links, permissions and compatibility with older plugin menus.
2.4.21
- Styling: Load the shared WP Suite Theme CSS and any additional stylesheet URLs configured in WP Suite General Settings, in order, inside the Authenticator shadow root.
- Dependencies: Bundle WP Suite Hub 2.5.17 and refresh the shared core packages.
2.4.20
- Dependencies: Bundle WP Suite Hub 2.5.16 so Static Publisher is notified when the shared translation catalog changes.
2.4.19
- Localization: Added Gatey-owned formal Spanish Authenticator corrections and fixed the Hungarian “Lost your code?” prompt while keeping site-authored translation-catalog overrides authoritative.
2.4.18
- Dependencies: Bundled WP Suite Hub 2.5.15 with the Amplify preview.3 runtime that supplies the corrected Authenticator translations.
- Compatibility: Guard shared Hub constants when another WP Suite plugin already owns the runtime, avoiding duplicate-constant warnings during updates and CLI operations.
2.4.17
- Localization: Added the shared site translation catalog so custom strings resolve consistently across WP Suite plugins and site locales.
- Authenticator: Apply matching shared-catalog translations to authored labels and nested custom Gutenberg content while preserving unmatched authored text.
- Dependencies: Updated WP Suite Core to 2.4.2, Gatey Core to 2.3.7, and the bundled WP Suite Hub to 2.5.14 with the Amplify preview.2 catalogue corrections.
2.4.16
- Localization: Resolve
systemblock language from the active WordPress or multilingual-plugin site locale before falling back to the browser locale, and keep custom translations scoped to each Authenticator instance. - Dependency: Updated Gatey to WP Suite Core 2.4.0, Gatey Core 2.3.6, and the exact SmartCloud Amplify UI preview packages containing the 22-language translation fixes.
2.4.15
- Compatibility: Updated the bundled WP Suite Hub to 2.5.12 so provider abilities expose operation, draft-safety, and human-approval metadata consistently regardless of which active WP Suite plugin owns the shared runtime.
2.4.14
- Compatibility: Declared compatibility with WordPress 7.1.
2.4.13
- Security and Multisite: Treat the
redirect_toreturn URL as a same-origin browser target instead of rebasing an already prefixed path onto the active subsite. This prevents duplicate path redirects such as/saas-launch/saas-launch/profileafter sign-in on static or dynamic path-based Multisite sites. - Security: Reject cross-origin
redirect_totargets and fall back to the configured Gatey post-sign-in destination.
2.4.12
- Feature: Added a clearly separated Cognito sign-in and sign-out card to Gatey Settings -> WordPress Login for sites that keep WordPress login integration disabled.
- Security: The admin card signs in only to the configured site Cognito user pool for protected backend API calls. It does not connect a site to a WP Suite workspace or alter the WordPress administrator session.
- Guidance: Clarified that an Identity Pool is optional for ordinary Cognito JWT authorization, and documented the missing or expired Cognito session cause of protected API
Unauthorizedresponses.
2.4.11
- Multisite: Resolve selected Gatey pages against the active subsite in browser redirects and Cognito callback configuration, rather than treating
/and/slugas network-root paths. - Multisite: Expose the active site URL to the frontend runtime so WordPress-login integration, Sign In, and sign-out flows use one site-local destination.
2.4.10
- Multisite: Store shared Hub ownership per site and recognize network-activated owners.
2.4.9
- Dependency: Replaced the deprecated SmartCloud Amplify UI 6.16.0 package line with exact supported 6.15.5/3.6.5/6.15.5 versions and rebuilt the shared vendor runtime.
2.4.8
- Compatibility: Restored ownership-safe WP Suite Theme CSS fragment updates on WordPress-managed Custom CSS storage.
2.4.7
- Feature: Added native, server-rendered Gutenberg fallback content for Authenticator while its React interface and authentication store initialize.
- Performance: Mounted Authenticator into a dedicated child root so authored fallback content remains visible until React commits.
- Editor: Added a visible inner-block inserter for Authenticator fallback and customization blocks.
- Fix: Preserved native rendered Gutenberg child markup inside server-rendered Authenticator fallback content.
- Compatibility: Preserved pattern-ID shortcode and Elementor rendering, including the selected pattern’s nested configuration blocks.
- Fix: Normalized nested passwordless settings in the WordPress Abilities discovery response without array-to-string warnings.
- Safety: Exposed only allowlisted passwordless methods and passkey prompt values while preserving the existing passwordless modes field.
- Packaging: Renamed the bundled shared runtime directory to
smartcloud-wpsuite. - Migration: Made
smartcloud-wpsuitethe canonical admin, option, and REST namespace while retaining legacy aliases for rolling upgrades. - Cleanup: Added multisite-aware uninstall removal for Gatey settings and Cognito JWKS transients without touching shared WP Suite licences.
2.4.6
- Feature: Added Passkey Settings and Remembered Devices as supported Authenticator screens across blocks, custom areas, Elementor widgets, shortcodes, JavaScript navigation helpers, and the WordPress Abilities contract.
- Dependencies: Updated the Gatey block toolchain and SmartCloud packages, and removed all known production dependency vulnerabilities.
- Compatibility: Updated the bundled shared Hub runtime to 2.5.7.
2.4.5
- Feature: Improved the Sign In Page and post-authentication redirect selectors with searchable published pages, explicit WordPress Homepage and Posts page targets, and safe clearing.
- Shared Hub: Added ownership-safe WP Suite Theme CSS fragment updates and hardened the frontend settings bootstrap for CSS-rich configuration values.
- Compatibility: Updated the bundled shared Hub runtime to 2.5.6.
2.4.4
- Fix: Made the shared WP Suite Abilities foundation safe to load from multiple product plugin paths without redeclaring its base provider class.
- Compatibility: Updated the bundled shared Hub runtime to 2.5.5 so existing sites re-elect a current Hub owner after upgrading.
2.4.3
- Feature: Added an optional native WordPress Abilities API provider for Gatey component discovery, schema inspection, validation, materialization, runtime capability reporting, and safe site-settings inspection.
- Compatibility: The provider loads only when the WordPress Abilities API and the shared WP Suite Hub abilities layer are available, so existing Gatey behavior is unchanged on older WordPress runtimes.
- Integration: Added a private provider profile for SmartCloud Agent Composer without adding a product-level MCP server or public MCP exposure.
2.4.2
- Compatibility: Refined paid-feature handling in preparation for upcoming WP Suite Agency subscriptions.
2.4.1
- Docs: Updated WP Suite brand wording and platform positioning across the readme.
2.4.0
- Breaking change: Authenticator and Account Attribute now render inside the Shadow DOM, so any site-level CSS overrides must move into shared WP Suite Theme CSS or the block-level
themeOverrideattribute. - Performance: Added schedule-after-initial-paint mounting so frontend UI yields the main thread sooner and improves early paint metrics where supported.
- Feature: Gatey now loads shared WP Suite Theme CSS inside supported shadow-root UI for reusable site-wide component styling.
- Feature: Added pattern override support so synced patterns can override selected original block attributes without duplicating the whole block setup.
2.3.3
Performance: Moved frontend runtime scripts and shared vendor assets to the footer and enabled deferred loading where safe, reducing render-blocking work during initial page load.
Internal: Improved script loading order so lightweight bootstrap data can be available early without forcing heavier frontend dependencies into the page head.
2.3.2
- Fix: Restored the Authenticator frontend CSS rules that were missing from the block view script, including the
.sr-onlyhelper used to visually hide the optional “Powered by” attribution. - Fix: Improved sign-in redirect handling by normalizing current and target URLs before redirecting, preventing site-specific redirect loops after returning from sign-in.
- Diagnostics: Added optional Gatey login/logout debug logging to help investigate WordPress login redirect issues on affected sites.
2.3.1
- Fix: Gatey Patterns now lists only reusable blocks that actually contain the Gatey Authenticator block.
- Fix: The copied Gatey shortcode now uses
[gatey id="..."], matching the shortcode handler. - Docs: Added a readme FAQ note clarifying the saved-pattern shortcode format.
2.3.0
- Maintenance: Moved the customized AWS Amplify UI React packages to the
@smart-cloudnpm scope. - Maintenance: Gatey now uses the
@smart-cloud/aws-amplify-ui-reactpackage family for its customized Authenticator foundation. - Compatibility: Updated the “Tested up to” value for WordPress 7.0.
- Internal cleanup: Improved long-term dependency ownership and reduced reliance on locally patched upstream frontend packages.
2.2.2
- Compatibility: Replaced the previous Cognito token verification dependency with a lightweight Gatey-owned verifier based on
firebase/php-jwt. - Compatibility: JWKS keys are now fetched through the WordPress HTTP API instead of relying on PHP URL file access, improving support for hosts where
allow_url_fopenis disabled. - Reliability: Added WordPress transient caching for Cognito JWKS responses and automatic refresh on key mismatch, improving resilience during Cognito signing key rotation.
- Security/maintenance: Kept cryptographic JWT verification in a maintained third-party library while moving the Cognito-specific validation logic into Gatey.
- Internal cleanup: Improved token verification error handling and WordPress.org plugin-check compatibility.
2.2.1
- Updated project dependencies.
- Improved site settings saving so global reCAPTCHA settings are no longer overwritten accidentally.
2.2.0
- Compatibility: Updated Gatey admin and block packages for TypeScript 6 and newer WordPress typings.
- Fix: Resolved typing regressions affecting admin and block code during development and build.
- UX/Internal: Standardized the InfoLabel / openInfo pattern across nested settings editors for more consistent help-drawer behavior.
- Build: Improved package compatibility with the updated shared WP Suite dependency stack.
2.1.10
- Fix: Adjusted Authenticator mounting behavior so Authenticator screens can fully remount when required.
- Fix: Prevented issues caused by the previous mount hardening logic in flows where full screen remounting is necessary.
- Stability: Ensures Authenticator screen transitions and re-rendering work correctly in all supported scenarios.
2.1.9
- Fix: Improved frontend block mounting so components can no longer mount multiple times in parallel on the same element.
- Refactor: Moved the shared race-condition protection into a unified shared helper for more consistent frontend initialization.
- Stability: Makes frontend mounting more deterministic and reduces duplicate initialization issues.
2.1.8
- Fix: Improved Elementor widget parameter handling for more reliable widget configuration and rendering.
- UX: Gatey widgets now behave more consistently across Elementor-based integrations.
2.1.7
- Fix: Stabilized loading of
admin/logger.phpand initialization of theLoggerclass in the admin environment. - Fix: Prevented cases where admin PHP pages could break because the logger initialized later than required.
- Stability: Ensures the logger is reliably available during admin page load across all affected admin screens.
2.1.6
- Compatibility: Switched Elementor widget loading to namespace-based registration under
SmartCloud\WPSuite\Gatey. - Stability: Improved shared hub loading and race-condition handling for more reliable startup together with other WP Suite / wpsuite.io plugins.
- Internal: Hardened plugin bootstrap sequencing to reduce cross-plugin initialization timing issues.
2.1.5
- Fixed a race condition during logout in the Authenticator block.
- Prevented premature redirect to the sign-in page before logout and Cognito token revocation completed.
2.1.4
- Improved the robustness of script loading and dependency ordering for shared functions, blocks, and related assets.
- Added defer loading where possible so scripts no longer block page rendering unnecessarily.
2.1.3
- Admin: Added a new “Hide Sign Up” setting in the admin UI to control whether the sign-up option is shown in login and sign-up forms.
- Admin: Added passwordless configuration options to the admin UI, including hidden authentication methods, preferred authentication method, and passkey registration prompt settings.
- UX: Makes key sign-in experience settings configurable directly from the plugin admin interface.
2.1.2
- Stability: Improved plugin bootstrap order so Gatey can no longer initialize before the shared WP Suite hub when multiple WP Suite plugins load together.
- Internal: Adjusted hub-loader sequencing and hardened global
WpSuitenamespace initialization to prevent race conditions during startup. - Compatibility: Helps ensure more reliable interoperability with other WP Suite plugins that depend on the shared hub lifecycle.
2.1.1
- Improvement: updated the shortcode column rendering/behavior.
2.1.0
- Moved reCAPTCHA handling and script loading to the shared smartcloud-wpsuite package.
- Added admin-configurable debug logging for monitoring plugin PHP execution when needed. Requires both WP_DEBUG and WP_DEBUG_LOG to be enabled.
- Fixed a redirection issue.
- Simplified attribute handling across all block rendering
Follow this listing's changes (Atom feed)