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?
Add auto-generated `UpdatedAt field` as sort key to auto-generated GSI in a relationship table
Move Amplify Gen2 Next.js App to subfolder in repo
I’m restructuring a bit with the nextjs sample app for amplify (https://github.com/aws-samples/amplify-next-template), as when we run this want to have it in at least one subfolder deeper
Overriding Amplify environment variable doesn’t seem to work correctly
I have a React project that works perfectly fine until I deploy it to Amplify. I have two environments in Amplify — staging
and production
. My environment variables work on staging
, but not one specific variable which pertains to a 3rd party service.
How can I generate multiple entities in a from a single request using Amplify?
Amplify allows the creation of entities through generated code. I’d like to harness this to create several entities at once.
Amplify local lambda test: lambda function is missing its layer
I want to locally test a lambda function that uses a lambda layer.
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.
CognitoIdentityCredentials is not authorized to perform: execute-api:Invoke on resource
I have a role MyRole
that is associated to a user account. I attached to that role the MyRolePolicy
policy:
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
)