Learn AWS Cognito, authentication with Spring Boot made easy | Oauth 2.0
Вставка
- Опубліковано 4 жов 2024
- Hello my people! Today we are going to see in action an Spring Boot application implementing security as a Resouce Server using Oauth 2.0. And as authentication server we will use AWS Cognito User Pools, which is very easy to setup.
Project repo: github.com/martinKindall/aws_spring_cloud_sandbox
This is an excellent video explaining the Cognito integration with Spring Plathform.
Awesome \m/, Just had a quick 5 mins glance - by forwarding your video, and I'm already impressed. I didn't expect so much from a youtube video. Thanks.
You rocks mate! thanks for sharing this content with us.
very helpful video, I needed this exact info: spring boot authentication using cognito. thanks!
Really nice thanks! Using the aws command to get a token and mocking with postman very useful
This Chanel Will be great!
Thanks Sergio
Muchas gracias Walrus
Can you take a closer look at how this is implemented in your application?
cheers for the video bro. can you link the project repo, i don't understand how the application understands the scopes i.e. SCOPES_admin at 24:28
github.com/martinKindall/aws_spring_cloud_sandbox
This is just fabulous 🏆 ,can you also able to provide postman request for getting token from cognito in localhost
Thanks for the video. I have a question. You appear to be using the "id token" instead of the "access token" - isn't that incorrect? I'm running into this problem now... on my spring rest service I want to know the user attributes but they're not present when my UI sends the access token. I think the front end should be sending the "access token" and the back end should be looking up the userInfo - but I haven't been able to find a good example. Thanks!
Hey Walrus,
When setting up the app client in Cognito, do you set the custom attribute "admin" as mutable/immutable and writeable/non-writeable?
Please share the code in a git repo!!
github.com/martinKindall/aws_spring_cloud_sandbox