Learn AWS Cognito, authentication with Spring Boot made easy | Oauth 2.0
ฝัง
- เผยแพร่เมื่อ 15 ก.ย. 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.
very helpful video, I needed this exact info: spring boot authentication using cognito. thanks!
You rocks mate! thanks for sharing this content with us.
Really nice thanks! Using the aws command to get a token and mocking with postman very useful
This Chanel Will be great!
Thanks Sergio
Hey Walrus,
When setting up the app client in Cognito, do you set the custom attribute "admin" as mutable/immutable and writeable/non-writeable?
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!
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
Can you take a closer look at how this is implemented in your application?
This is just fabulous 🏆 ,can you also able to provide postman request for getting token from cognito in localhost
Muchas gracias Walrus
Please share the code in a git repo!!
github.com/martinKindall/aws_spring_cloud_sandbox