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
2
votes
1 answer

Regular expression Syntax error - AmplifyJS

I just added "amplify.js" to my ASP.NET MVC3 project and getting Regular expression syntax error for this line : key = key.replace( /[^-._0-9A-Za-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u37f-\u1fff\u200c-\u200d\u203f\u2040\u2070-\u218f]/g, "-" ); Does…
Khasha
  • 1,559
  • 1
  • 12
  • 19
2
votes
1 answer

amplify.js and backbone.js

recently i had a chance to watch beautiful course from john papa on building single page application. i' d love it. it touches every aspect of application both server and client side. i was more into client side. during his implementation mr.papa…
mobygeek
  • 193
  • 2
  • 14
1
vote
0 answers

Change default Cognito Hosted UI in Amplify to use an website in mobile (desktop mode)

Describe problem I have a responsive website (react) that uses Cognito as Amplify Auth. The problem is that when the user made Sign In to my customized login page, he/she can't change from mobile mode to desktop mode without being redirected to…
1
vote
0 answers

Authenticate Cognito IDP API in Amplify js application

I'm trying to use CognitoIdentityProviderClient server side in my next.js application that also uses amplify js library and amplify hosting. It works perfectly locally, but the client is not authenticated and authorized after deploy. import type {…
1
vote
0 answers

How can I Single sign on with Cognito without Hosted UI

I'm thinking of using Cognito to SSO (if one is already logged in, the other will be authenticated without login), SPA on S3, web application on ALB + EC2, and these two applications. I added each app client under the same user pool in Cognito. The…
1
vote
0 answers

I am trying to write GraphQL schema for the first time for creating an API for my project but I am getting error

I am trying to write a Graphql schema for creating API. Here is the GraphQL schema : input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY! type User @model { id: ID! username: String! posts: [Post]…
1
vote
0 answers

Inacessible Host on Amplify Init

I'm initializing empty (initial files created by npx create-next-app) React/NextJs application with amplify init, but receiving the following error: Inaccessible host: amplify.us-west-2.amazonaws.com' at port 443'. This service may not be available…
1
vote
0 answers

Failed to resolve component: amplify-s3-image , but it actually works

I get this warning in my Chrome Console: runtime-core.esm-bundler.js?d2dd:38 [Vue warn]: The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using…
1
vote
0 answers

Cognito Amplify - how to built an SSO integration by ReactJS only?

I do have implemented SSO that working without BE changes. which using Query Parameters to throw the JWT token based to another subdomain. for example: Auth App App 1 App 2 When we accessing "App 1" , then it will redirect you to Auth App for sign…
acul
  • 53
  • 7
1
vote
2 answers

AWS Amplify UI React Styles not importing

Unable to import styles from node_modules. Using "@aws-amplify/ui-react": "^2.1.0"
1
vote
1 answer

Amplify gives "No current user" only in Safari?

Context: I'm using Amplify for authentication in a static site that is composed of 2 sites frankensteined together by building Website A, putting it into an S3 bucket and the building website B and placing its build files within a subfolder of that…
Techie
  • 11
  • 3
1
vote
2 answers

How to use existing amplify backend in both react and react native

I have setup a simple Amplify backend API and connected it to a React Native frontend. Now I want to connect it to a React frontend. Could I extract all of the Amplify code into its own project to be used by both frontends? I want to avoid code…
1
vote
0 answers

OIDC authentication using custom UI in aws cognito - aws amplify

I have been trying to add an OIDC provider in AWS Cognito. I chose Google as the provider and set up all the credentials in the user pool federated identity section. So I am using multiple user pool, where each user pool is for each customer. ( i…
1
vote
0 answers

Amplify Angular Auth Material Icons Not Rendering On Component Activation

I'm trying to use Amplify Angular UI Auth component however when I navigate via route to activate my next component "/home" from the Amplify Auth component my Angular Material Icons are displaying text instead of the icon. However, once on the…
kingpia
  • 63
  • 1
  • 6
1
vote
0 answers

"Missing credentials in config" error when using amplify Auth.currentCredentials()

We are using Amplify to manage the coginto credentials and once a while we will get this error when using the credentials: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 It does not happen often, happens once a…
Charlie Chen
  • 224
  • 3
  • 12