Getting Access Token from Amazon Cognito using Postman | Authorization Code Grant and Implicit Grant

  Рет қаралды 25,249

Coderjony

Coderjony

Күн бұрын

Пікірлер: 21
@henrykeke5278
@henrykeke5278 Жыл бұрын
Thanks man, I have been trying to understand this since morning and your video made it so simple. You rock!
@programmingforkids6117
@programmingforkids6117 6 ай бұрын
Can I ask if can I use this to connect on google api services? google calendar api to be specific btw I used nextjs as framework + aws as backend I also used google social login.
@rus072
@rus072 Жыл бұрын
Very usefull Video, thank for shared it!
@FrancoTechnologies
@FrancoTechnologies 8 ай бұрын
You are the man
@FWTteam
@FWTteam Жыл бұрын
Good video, thanks!
@KarimFayed-oy5oo
@KarimFayed-oy5oo 7 ай бұрын
Very helpful video but I fail to understand what should i do if I don't want to authorize using the UI. I just created a user and I simply want to retrieve the access token in postman without using the UI
@coderjony9694
@coderjony9694 7 ай бұрын
If you are not using Hosted UI, then you can use Cognito's Authentication Flows instead of OAuth flow. Answers on this page can help you. repost.aws/questions/QUW-FCbWmbRSSRQnfgQEdefg/how-do-i-obtain-an-id-token-from-cognito-without-hosted-ui
@asifnisarr
@asifnisarr 5 ай бұрын
How to get the BearerToken / Access Token without sign-in step? for example to be used in Test automation (or pipeline jobs running on CI/CD)
@coderjony9694
@coderjony9694 5 ай бұрын
In that case, you need to use Client Credentials flow.
@kinkaneki2625
@kinkaneki2625 7 ай бұрын
First i want to access token to get into cognito user pool ther I want to get cognito token and thorugh which I want to use services like S3 bucket, How can I do it?
@coderjony9694
@coderjony9694 7 ай бұрын
For that you have to create a Cognito Identity Pool, and then have to call assume-role-with-web-identity API method. Refer to this detailed post - repost.aws/knowledge-center/cognito-identity-pool-grant-user-access
@MiguelLoza-r5d
@MiguelLoza-r5d 9 ай бұрын
How Do I get the token from my real app without postman, using authorize code grant?
@coderjony9694
@coderjony9694 9 ай бұрын
Depends on what framework you’re using for the web app.
@bkravchenko
@bkravchenko Жыл бұрын
Thanks for the video. I ran into this trying to see if there is a way to automate the entire process. Do you know any tutorials that show if this is possible to do all of this programmatically without any user interaction?
@coderjony9694
@coderjony9694 Жыл бұрын
Yes, this is a two-step process: first, create a Cognito user pool, and then configure Postman to generate bearer tokens. To begin, you can utilise IaC scripts such as CDK, Terraform, CloudFormation, and others to automate the formation of a Cognito user pool. Second, for the Postman section, you'll have to initially configure it manually, and when doing so, try to utilize variables rather than hard-coded values whenever possible. The collection and variables can then be exported to JSON files. You can later utilize those files to easily configure the environment. Hope this should help!
@sawankumargope5399
@sawankumargope5399 7 ай бұрын
Does it give new access token every time or the same ?
@coderjony9694
@coderjony9694 7 ай бұрын
It should give a new one every time I believe. But you can verify.
Amazon Cognito Tutorial for Beginners | AWS Cognito
34:21
Coderjony
Рет қаралды 25 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,1 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 52 МЛН
048. Аутентификация и авторизация с AWS Cognito
28:55
Use JWT Authorizers with Amazon Cognito and API Gateway
13:48
Focus Otter
Рет қаралды 53 М.
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 255 М.
Secure API Gateway using Cognito Authorizer (NEW)
29:51
LoveToCode
Рет қаралды 43 М.
API Authentication: JWT, OAuth2, and More
6:12
ByteMonk
Рет қаралды 17 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,1 МЛН