Relative Content

Tag Archive for aws-amplify

Amplify auth – custom authenticated role policy

I added simple authentication to my Flutter app using Amplify. I used npm create amplify@latest -y for creating the Amplify setup and then for the sandbox npx ampx sandbox --outputs-format dart --outputs-out-dir lib. Followed the docs, Gen 2, and it worked well.

How to use a custom domain for auth redirect with AWS Amplify Gen 2

I’ve added a custom domain to my Cognito User Pool so that when users attempt a sign in with Google they do not see a shady looking link. So when calling signInWithRedirect({ provider: 'Google' }) the user should be sent to my domain not the default one from the User Pool. How can I achieve that?

How to add timeout to REST API call on aws amplify v6?

I’m currently upgrading from v5 to v6 of amplify and there are breaking changes. One is the API call. I can’t find a way to add timeout on post method. The cypress tests fails because we are expecting a certain timeout time which is 2mins.

amplify not pushing lambda function’s node_modules

I created a NodeJs lambda function with amplify add function. Later I wanted to change it, and I needed new libraries. I did npm install on the libraries i needed and the node_modules folder was generated successfully. When I did amplify push the changes were not present in the cloud, although I have another function that I added and that one has the node_modules dir (for this one I used the dynamoDB integration when i did amplify add function)