spring-cloud-aws icon indicating copy to clipboard operation
spring-cloud-aws copied to clipboard

AWS Cognito integration

Open Forfend opened this issue 1 year ago • 5 comments

Type: Feature

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like I use AWS Cognito a lot for my project. I also use spring-cloud-aws, so I think it'd be great to have Spring AWS integration with the AWS Cognito user pool.

Basic features I'd like to see:

  • Cognito Autoconfiguration
  • User management (create a user, remove a user, log in, log out, etc)

Additional context I can work on it

Forfend avatar Sep 30 '24 15:09 Forfend

@Forfend would that be just an auto configured Cognition client or something more? With user management what implementation do you have in mind?

maciejwalkowiak avatar Sep 30 '24 16:09 maciejwalkowiak

@maciejwalkowiak I'm thinking about implementing registration, login, logout, reset password operations + Cognito client autoconfiguration. I expect this is enough to start with. What do you think about this idea?

Forfend avatar Sep 30 '24 18:09 Forfend

It sounds good on paper but I'm not sure if it's possible to provide generic enough apis for that? Maybe you can draft a quick PR with a subset of features? Then we can decide if it's worth adding to the Spring Cloud AWS or perhaps it should function as a separate project.

maciejwalkowiak avatar Sep 30 '24 18:09 maciejwalkowiak

Sure, I'll do a small PoC and provide a PR in the next few days

Forfend avatar Sep 30 '24 20:09 Forfend

I will be happy to have this in my project :+1: It's missing some features in the PR to fit all my needs (Signout, adminSetUserPassword, changePassword, deleteUser etc...) but it's a good start for me IMHO

dbouclier avatar Nov 08 '24 10:11 dbouclier