Thanks man, I have been trying to understand this since morning and your video made it so simple. You rock!
@programmingforkids61176 ай бұрын
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 Жыл бұрын
Very usefull Video, thank for shared it!
@FrancoTechnologies8 ай бұрын
You are the man
@FWTteam Жыл бұрын
Good video, thanks!
@KarimFayed-oy5oo7 ай бұрын
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
@coderjony96947 ай бұрын
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
@asifnisarr5 ай бұрын
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)
@coderjony96945 ай бұрын
In that case, you need to use Client Credentials flow.
@kinkaneki26257 ай бұрын
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?
@coderjony96947 ай бұрын
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-r5d9 ай бұрын
How Do I get the token from my real app without postman, using authorize code grant?
@coderjony96949 ай бұрын
Depends on what framework you’re using for the web app.
@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 Жыл бұрын
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!
@sawankumargope53997 ай бұрын
Does it give new access token every time or the same ?
@coderjony96947 ай бұрын
It should give a new one every time I believe. But you can verify.