I’ve noticed many of you have been looking for this, so I’ve put it together for you. Enjoy!
ps: thanks to ruri for helping me with all the problems I encountered.
OB2 Version: 0.3.1
Author: me
Description: This plugin allows authentication with AWS Cognito using user-provided credentials. It returns the full authentication response in JSON format or error messages if authentication fails. (With proxy support)
Extra Info:
To find the Pool ID or Client ID for a site, try searching for these keywords in the site’s JavaScript files:
- clientid
- userPoolId
- POOL_ID
- poolId
- COGNITO_REGION
If that doesn’t work, log in and check the login request, which will contain the Client ID. Then, search for the Client ID in the JavaScript files; it is usually located next to or near the Pool ID.
Download:
OB2CognitoPlugin.zip (677.2 KB)
Screenshots:
Usage should be fairly simple but if u have any questions/issues/suggestions/bugs drop them below.
Edit (05/08/2024):
I initially left a static region variable in the code, which limited it to only work for EU-West clients. This has now been fixed to dynamically set the region based on the Pool ID input.