4,935 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
33
views
AWS Amplify keeps clearing my session tokes from localStorace after a network droput
I'm a bit frustrated with AWS Amplify, what seems like a basic feature of maintaining sessions is seems to fail if the network drops.
Here is my Cogntio CDK setup, the refreshTokenValidity is set to ...
0
votes
0
answers
55
views
Next.js + AWS Amplify Middleware not redirecting after first login until refresh
I am working on a project using Next.js (App Router) and AWS Amplify Auth. I have implemented middleware to restrict access and redirect users based on a custom Cognito attribute (custom:...
Advice
0
votes
6
replies
55
views
Display line of code in AWS CloudWatch for Amplify NodeJS written in typescript
I have the following resource in Amplify v2:
export const myFunction = defineFunction({
name: 'my-function',
layers: {
sharp: "sharp_arm64:1",
},
environment: {
BUCKET_NAME: ...
0
votes
1
answer
32
views
AWS Amplify Long type to Int64 with Swift and GraphQL
I have issue where I cannot map Long type in Swift.
E.g. schema.graphql
scalar Long
input TableLongFilterInput {
between: [Long]
contains: Long
eq: Long
ge: Long
gt: Long
le: Long
lt: ...
0
votes
0
answers
20
views
Customising incorrect and broken domain from amplify's build notification on sns
We've a 3 envs for our amplify project, one of being dev, from the branch dev/main, but, the actual domain it's for / that we're interested in is https://dev.seaders.com. The notification that comes ...
0
votes
0
answers
33
views
Client of Amplify Gen 2 is not being properly generated for subscription
Logging const client = generateClient<Schema>(); results in the following, which shows that the client is improperly generated:
{
"models": {},
"enums": {},
"...
1
vote
0
answers
61
views
Unable to complete Amplify v6 Cognito OAuth flow in my Next.js App
I am using Amplify and Cognito's hosted UI Login page to handle my user authentication. I am able to redirect to the cognito hosted page, enter my user credentials, and redirect page to my sign in ...
-1
votes
1
answer
67
views
NextAuth Google Login Redirect to Localhost instead of Production Domain
I am doing a project which will use Google Login in NextJs
This is my setting in OAuth 2.0
and in amplify environment variables
After I deployed the app and try to login
It redirect me to http://...
-1
votes
1
answer
98
views
(Amplify Gen 2) Bedrock AI Generation Produces ValidationException (Mapping Error) [closed]
I'm following the AWS Amplify Gen 2 documentation here: https://docs.amplify.aws/react-native/ai/generation/ exactly as it is written. Our ./amplify/data/resource.ts looks like this:
const schema = a....
0
votes
0
answers
31
views
AWS Amplify signInWithRedirect integration with Azure AD (Entra ID) App Registration. Can't set Application ID URI to "urn:amazon:cognito:..." anymore
To integrate my apps with Active Directory I add the following to amplify/auth/resource.ts:
externalProviders: {
saml:
{
name: 'MyApp',
...
1
vote
0
answers
48
views
Process is not defined / process.binding is not supported error after deployment, but works locally
I have a Next.js 15 project that uses AWS Amplify (Cognito) for authentication.
Here’s a simplified version of my config file:
"use client"
import { Amplify, type ResourcesConfig } from &...
0
votes
1
answer
41
views
How to wire AWS amplify resources together
In an AWS Amplify backed application, I can define two data models Inventory and Order. Then Amplify generates a GraphQL API and underlying DynamoDB tables for these models.
Then I can create a ...
1
vote
0
answers
139
views
Expo SDK 54 + AWS Amplify Auth (Cognito v5) → TypeError: Cannot read property 'computeModPow' of null on login
After upgrading my React Native project to Expo SDK 54 (React Native 0.81.4), the login flow using AWS Amplify Auth (Cognito v5) stopped working.
When calling Auth.signIn(username, password) I get ...
0
votes
0
answers
27
views
Does Amplify AWS does not generate device token on V6 for Push Notification?
According to the latest documentation of Aws Amplify V6 ,to generate token we have to use onTokenReceived from aws-amplify/push-notification for implementing push-notifications on Mobile using react-...
0
votes
1
answer
60
views
AWS IoT MQTT test client with Amplify GEN 1
I’m trying to connect my React webapp (Vite + TypeScript) to AWS IoT Core over MQTT WebSocket using Amplify GEN 1 with AWSIoTProvider. I've been following this docs
I configured Amplify and PubSub ...