New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cognito emulation #26
Comments
Hey @csabakoncz , can you provide a few more details about your use case please. When you say users, are you talking about IAM Users? (See API reference here: http://docs.aws.amazon.com/IAM/latest/APIReference/) Note that the IAM API has not yet been integrated into LocalStack (which means that IAM Users are not available), but we may consider adding the IAM API if we understand your exact use case. Can you provide some examples how exactly you create and interact with your test user accounts? Thanks |
I just realized that your request is related to the Cognito service: https://aws.amazon.com/cognito/ Still, can you provide a bit more background on your use case, in particular how your tests interact with the Cognito API? |
Hi, The only way our functional tests interact directly with Cognito is to obtain Oauth tokens using test user credentials. These tokens are then handed over to the services under test when performing REST operations on them. So the most important features of a Cognito emulation would be:
I will look up the exact API calls and will provide a list of them. |
The Cognito "brand" is rather confusing, but what @csabakoncz is referring to is Cognito (Your?) User Pools. |
A more complete use-case would be to use an authorizer for a Cognito User Pool to authorize incoming requests to API Gateway (backed by Lambda): Request -> Cognito Authorizer -> API Gateway -> Lambda -> Response |
@hassankhan This is exactly the use case we are looking to test. I hope localstack supports Cognito User Pools in the future. |
@csabakoncz @hassankhan @damianesteban Support for AWS Cognito is on our roadmap and we're actively working on it. Please stay tuned, more details following soon. |
@whummer Any updates, or anything we can help with? |
@whummer any updates? any expected date! |
@whummer Would really be interested in hearing out if there was any options about this feature. I've been actively looking for something like this! |
Looks like this got abandoned. |
👍 |
So I guess still nothing has changed? |
This would be really cool to have! |
I would also be very interested in this. |
Also very interested. |
Interested! |
This would be a great help to our development as we are experiencing issues with local testing of Cognito authorisation |
@whummer is it still on roadmap anywhere soon or no chances? |
Add me to the growing list of people who ran into the very same issue and would really appreciate to see Cognito support in localstack soon. |
Same issue here. It'd really be great if you guys added support for Cognito. |
Would love this!! |
Any update on this? Would be great to be able to test Cognito authentication and authorization locally |
Oh man, this is close to a showstopper for a lot of people I know, and myself. If a team can't test their entire (or nearly) code infrastructure offline; it's pretty hard to ignore the significant risk this comes with. |
It will be really great to have cognito added to the localstack |
There are many resources out there that promote the using of Amazon Cognito with a serverless application model for end-user auth. Here is one very popular example for a full-stack React JS app on the front-end working with a serverless backend: If cognito support were available in localstack, you would be able to use the So 👍 for getting cognito support available. If you are interested in having a new contributor to work towards that end, let me know, @whummer. |
Same here, I would love to be able to execute my full stack (api gateway, lambdas, dynamodb, cognito, cloudfront) locally. I was getting excited about Amazon's serverless but not having control over this kind of things is a bummer :( |
+1 for cognito support in local-stack |
Anyone want to collaborate on a "Task" list for what it would take to get this implemented? I'm a fairly good developer, but new to localstack and serverless. I don't mind being a grease monkey / researching this more. Perhaps we could start a new issue and just and our notes and implementation research / details to it? I imagine the first task would be a |
I'd like to start development for this, as working with user pools on the cloud is turning out to be a bottleneck for my team. Can anyone provide me with requirements or what I should start looking at? |
There'll be a lot to making a complete local Cognito. Off the top of my head (based on my personal use-case):
Other things I can think of:
|
Hi @csabakoncz @hassankhan @damianesteban @mattcarrier @msolimans @vincentsolutions @warnerpinz @pchaganti @ojurkiewicz @oleersoy @rcavezza @sahellebusch @jgissend10 @tim-xch4nge @aldarund @tillkuhn @imedmar @RyanFelt @holtc @ghost @hatityechindove @lwoodson @7hibault @jeffdoolittle @m4-miranda @jagregory Initial support for Cognito has been added to the LocalStack Pro edition. 🎉 If you want to check it out, please head over to the website and sign up for private beta access: https://localstack.cloud |
Hi, When will Cognito be added to the normal FOSS edition? |
closing this issue for now, as cognito is available in pro, and adding cognito to the communtiy version is currently not on our roadmap (but may be in the future) |
Hi,
In our tests we use a large number of made-up users.
It would be nice if we could have a local user pool (to which we could add these users programmatically) and authentication service.
Best regards,
Csaba
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: