Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [aws-amplify]

AWS framework for rapidly developing backends for mobile and web applications.

0 votes
0 answers
8 views

Is it possible to remove SERVER respone header from AWS Amplify app

I have a react app.. hosted on amplify. It seems amplify uses cloudfront behind the scene so static content are served with header 'Server: S3'. I want to remove this via customhttp.yml however, ...
mongesh madhavan's user avatar
0 votes
0 answers
11 views

Allow All Authenticated Users to Read Documents Created by Admin User Group With Amplify

Consider the following model in my Schema type Document @model @auth ( rules: [ { allow: private, operations: [read] } { allow: groups, groups: ["Admin"], operations: [...
Eric Webb's user avatar
  • 361
0 votes
0 answers
17 views

How to implement pagination for nested array fields in a 'get' query using AWS Amplify and AppSync?

I'm working on a project using AWS Amplify and AppSync with the following simplified schema: type Sample @model @auth(rules: [{ allow: private, provider: userPools, operations: [read, update] }]) { ...
user42195's user avatar
  • 319
0 votes
1 answer
16 views

Issue with Google Authentication using AWS Cognito in Next.js App

I'm working on a Next.js application and trying to authenticate users with Google using AWS Cognito. The button is supposed to handle the authentication like this: 'use client' import React, { ...
Rai's user avatar
  • 55
0 votes
0 answers
8 views

aws-amplify: migrating from gen 1 v5 to gen 1 v6 we cannot retrieve refresh token anymore

In a Gen 1 v 5 project we can do import { Auth } from 'aws-amplify'; ... authInfo = await Auth.currentSession(); let refreshToken = authInfo.refreshToken.token; In Gen 2 v 6, we can do this import ...
realtebo's user avatar
  • 25.2k
0 votes
0 answers
15 views

AWS Amplify Deployed Web App Appending Trailing Slash '/'

For whatever reason my Amplify hosted web app will no longer let me manually type to navigate to different routes. This is very important as it allows me to work and test different pages that aren't ...
Josh's user avatar
  • 40
1 vote
0 answers
14 views

Amplify Cognito redirectSignOut doesn't work

I'm developing a Vite/React with Amplify Cognito for authentication. I have a main page which redirects to sub applications, and I would like that every sub-applications redirect to the main page for ...
vanessa's user avatar
  • 431
0 votes
0 answers
18 views

AWS Amplify Gen 2, NextJS: How to Upload images from the NextJS backend API Route?

I'm using Amplify Gen 2 for my NextJS project. I have been searching through all the docs but didn't find any example on how to upload files that comes to the NextJS backend API route. I tried the &...
Amal Gunatilake's user avatar
0 votes
0 answers
9 views

The react native app shows an error when we've implemented the sign in & sign out

So we was linking the existing aws amplify back-end in the cloud which is the authentication part to the react native (Enable sign-up, sign-in, and sign-out, https://docs.amplify.aws/gen1/react-native/...
Abdelhakim Ouafi's user avatar
0 votes
0 answers
14 views

How to manage ISR in AWS Amplify with NextJs app router

I am writing NextJs frontend using NextJs 14 and ISR approach. All of my pages have revalidate set to 30 seconds. I use Amplify to deploy application. I caught very strange behaviour of cache on ISR ...
Konstantin Kliukhin's user avatar
1 vote
1 answer
46 views

Getting NEXT_REDIRECT error when using redirect from next/navigation in a server-side function in Next.js

'm working on a Next.js application and have a login form that handles user sign-in. I use the redirect function from next/navigation for server-side redirection after a successful sign-in. However, I'...
Rai's user avatar
  • 55
0 votes
0 answers
45 views

Why does my create mutation return null for a subtype using AWS Amplify AppSync?

I have the following type: type Transplant @model @auth(rules: [{ allow: owner }]) { id: ID! date: AWSDateTime! plant: Plant! @hasOne plantingBed: PlantingBed! @hasOne variety: ...
bernieslearnings's user avatar
-1 votes
0 answers
16 views

issue in Signup with aws Amplify Angular

I am trying to singup with Amplify Singup method. In that if i pass preferred_username i am getting an error that "Preferred username cannot be provided for unconfirmed account, since user pool ...
Jainik Patel's user avatar
0 votes
0 answers
11 views

Can i deploy my Node js express app to AWS Amplify?

So my question is, is it possible to deploy my node js express app on AWS Amplify? Currently i get an error that the dist is not available. My react app deployed with no issues but the backend isn't. ...
Kashyap's user avatar
  • 95
0 votes
1 answer
33 views

Amplify Cognito : How to hide configuration variables in production environment

I use AWS Cognito to authenticate for a React/NodeJs application, it works well, but now I'm trying to push it into production environment I usually use backend callbacks to protect my environment ...
vanessa's user avatar
  • 431

15 30 50 per page
1
2 3 4 5
337