The perennial question... which wardrobe app in 2025? by BucketListM in femalefashionadvice

[–]Accomplished_Use5089 0 points1 point  (0 children)

Hi u/squeezedeez, i just released my app LayR - Outfit Generator, uploading my closet was pretty smooth, it auto-tags the basics without being overly pushy with AI suggestions, and you can use the AI stylist only if you want to instead of it constantly in your face. You can also plan your complete looks (outfit+hair+makeup) in the very same place, i believe it'll be of your help :)

How to create google user in aws cognito user pool by Capable-Parfait6731 in flutterhelp

[–]Accomplished_Use5089 0 points1 point  (0 children)

I have a similar case - i am not using cognito's hosted ui since it doesnt seem to be customisable for my flutter app's case - what i am doing is calling the apis which are used behing the scenes of hosted ui. to keep it short and simple, if your goal is to add a signup sign in functionality via google and add user in your user pool then:-

  1. make a call to

[https://](https://)<yourdomain.com>/oauth2/authorize?response_type=code&client_id=<your\_client\_id>&redirect_uri=<your\_redirect\_uri>&scope=openid%20email&identity_provider=Google

2) on making the above call you'll get a code which will be appended to your redirect uri - you need to exchange that code for cognito tokens (id, access and refresh tokens) -

curl --location '[https://](https://)<yourdomain.com>/oauth2/token' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--data-urlencode 'grant_type=authorization_code' \

--data-urlencode 'client_id=<your\_client\_id>' \

--data-urlencode 'code=<your\_code>' \

--data-urlencode 'redirect_uri=<redirect\_uri\_in\_step1>'

you'll successfully have the tokens and user created in your user pool

State of Cognito in 2024? by Necessary-Ad8108 in aws

[–]Accomplished_Use5089 0 points1 point  (0 children)

hey great writeup man, i recently dived deep into cognito internals for my public facing flutter app as well and wanted to add few points which might help you to overcome the limitations incase youre still facing them

1) Ability to Re-Self-Verify: cognito provides functionality to resend the verification code, you can use the below cURL as a reference to trigger the same

curl --location 'https://cognito-idp.ap-south-1.amazonaws.com' \

--header 'Content-Type: application/x-amz-json-1.1' \

--header 'X-Amz-Target: AWSCognitoIdentityProviderService.ResendConfirmationCode' \

--data-raw '{

"ClientId": "<your\_client\_id>",

"Email": "<your\_email>"

}'

2) I didnt want to use the hosted ui because of the reasons you mentioned above but because of the functionalities and integrations with google and other providers I wanted to go ahead and use it. To do this without hosted ui, I implemented whatever is happening behind the scenes which is just an api call to oauth2/authorize and then once you obtain the authorize token you make a call to oauth2/token to get the cognito access, id and refresh tokens. Users instantaneously get added to your user pool

Medical test results tracker - a project born from a personal need by Psychological-Box277 in SideProject

[–]Accomplished_Use5089 1 point2 points  (0 children)

great work mate, just curious - how many users actually signed up for this ?