Questions tagged [amplifyjs]

AmplifyJS is a set of components designed to solve common web application problems with a simplistic API.

Amplify's goal is to simplify all forms of data handling by providing a unified API for various data sources. Amplify's store component handles persistent client-side storage, using standards like localStorage and sessionStorage, but falling back on non-standard implementations for older browsers. Amplify's request adds some additional features to jQuery's ajax method while abstracting away the underlying data source.

http://amplifyjs.com/

187 questions
3
votes
0 answers

Aws Amplify Datastore data is not syncing with Dynamodb

I am using Amplify CLI for datastore. It is working fine. But it is not syncing data with dynamodb. Means Post gets save in datastore local storage but does not go in dynamodb POST table. My code is below const {syncExpression} =…
3
votes
1 answer

Unable to update many-to-many relation using Amplify DataStore

I have a data model that consist in three models Profile, Company, Profession. Profile is a model that I am using in order to link a Cognito user with structured data (such as Company and Profession). Profile has a many-to-many relation with Company…
Alexis Duran
  • 620
  • 14
  • 28
3
votes
0 answers

How to AutoLogin in multiple clients if logged in one client in Cognito?

My use case is where i have one cognito user pool and various client apps inside it. If i login in one of the application - i need to autoLogin in another application. Things i tried tried setting cookie Path to .domain so in another domain i can…
Parth Ghiya
  • 6,929
  • 2
  • 30
  • 37
3
votes
1 answer

AWS Amplify configure command for different accounts

I am developing an AWS amplify backend for a startup. I have two aws accounts 1- where the startup prod resides (prod env) 2- where I test features before making any changes to the prod environment. (dev/test env) In my local computer I have two…
3
votes
0 answers

AWS Amplify Many to many relationship - nested data doesnt work

I am using Amplify and everything worked fine until now. I built a schema where I have a many-to-many relationship and when I get the data with Datastore the result is not what I expected. Those are my…
3
votes
2 answers

One to Many Relationship not showing in the object Amplify Schema definition

I am new to using amplify with GraphQL. I was setting up my DB schema and auto-generating the functions after running amplify push. Goals I want to achieve but do not know how to are I would like to be able to get user with all connected…
3
votes
2 answers

Using manually created Cognito User Pool with an amplify project

I'm trying to use my existing Cognito User Pool when adding AWS Amplify to a react project. In result, I want to use Amplify Datastore functionality for existing users in my manually created Cognito User Pool. Also, I like the Amplify CLI…
3
votes
0 answers

Server Side: how to refresh expired tokens?

I'm working on a nuxt.js application with amplify providing the backend, more specifically: Cognito for user/identity management and AppSync for the API. AppSync uses IAM as authorization on the client side and API KEY on the server side. When the…
Running Turtle
  • 12,360
  • 20
  • 55
  • 73
3
votes
0 answers

How to do signIn and signUp of AWS Amplify in postman

I'm using aws-amplify in react native application. I am trying to create a postman collection of my app and I am unable to figure out what are the endpoints for SignIn, signUp and what data need to send in postman. I could not find any documentation…
m9m9m
  • 1,655
  • 3
  • 21
  • 41
3
votes
0 answers

How to get Authorization token of AWS Amplify in postman?

I could able to get Authorization token of AWS amplify by using the following code await Auth.currentSession()).idToken.jwtToken. I am using this in my react native. Now I am creating postman collection for my app and I am not able to generate the…
m9m9m
  • 1,655
  • 3
  • 21
  • 41
3
votes
2 answers

Amplifyjs and status code

I'm trying to use "Amplifyjs" to handle AJAX requests as does John Papa in his Pluralsight course but I'm having problems with authentication. I am using form authentication. Everything works fine. My problem comes with the unauthenticated requests.…
Julián Yuste
  • 1,472
  • 10
  • 22
2
votes
1 answer

Error when adding mock to Amplify API in React Native project

I'm currently working on a React Native project where I'm using AWS Amplify for my backend API. I am trying to add a mock to my Amplify API for testing purposes, but I encountered an error using this command: amplify mock api resulting in this…
2
votes
0 answers

Why am I getting an "Amplify AppID (app id) not found" message?

I'm trying to remotely build/deploy an app on AWS amplify and during the backend stage I get the message "Amplify appID (app id) not found", even though the app id it shows matches the one in app settings > general. I'm not sure what could be…
2
votes
1 answer

AWS Amplify + React Authentication Issue (Not getting JWT value after Auth.signIn() on Sign)

hope you all are well. I am working on a React project with a serverless backend in AWS Amplify. Facing an issue with the authentication which is blocking me to use admin action queries. The problem is the following: I am getting "Uncaught (in…
2
votes
0 answers

Amplify `tokenRefresh` event triggered multiple times

I'm using the following code to monitor the auth process with Amplify+Cognito: const handleHubEvent = useCallback((capsule) => { const event = capsule?.payload?.event; try { switch(event){ case 'signIn_start': case 'signIn': …
alx
  • 71
  • 8
1 2
3
12 13