Hey people! First of all, thank you for the great ...
# help
s
Hey people! First of all, thank you for the great work you are doing here, i’m just starting to learn serverless and
sst
is really making it easy for me! I just started creating something, i have an API and i just now included an authorizer using cognito and configured Api to use that as default using IAM, my question now (Because i didn’t see this part on the docs) is how do i actually sign up fairly quickly on my local for testing the various lambdas, any directions or pointers are welcome here! Thank you
f
Hey @Santiago Kent! Amazing to hear that!
Did you create the Cognito User Pool using the
Auth
construct?
If so, you can check out this chapter to create a test user in User Pool https://serverless-stack.com/chapters/create-a-cognito-test-user.html
And this chapter to authenticate as the test user and invoke the Api https://serverless-stack.com/chapters/test-the-apis.html
s
Thank you Frank for the Links! I did look at those examples, but i was wondering if there is something simpler to test the Authenticated endpoints, i was using Postman to do that very quickly before including the authentication, is there any way i can continue to use it? Or something like it?
f
I know Postman supports a variety of authentication method. Do you know if AWS IAM is on the list?
As a side note, we are working on something internally to help invoking an API endpoint with authentication. I will keep you posted on the progress.
s
Will check Postman out for that ! Thank you for your help! This looks like an awesome project! Will continue to learn and use and hopefully contribute at some point
f
Awesome! 👍