Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jim Rhodes
    @jimjiminyjimjam_twitter
    but have set up the configuration and used Amplify.configure()
    PeteLatham-CothamTechnologies
    @PeteLatham-CothamTechnologies
    @kirkryan did you mean switch environment rather than endpoint?
    Daniel S. Dantas
    @dantasfiles
    @jimjiminyjimjam_twitter I think you can manually do something like this: Amplify.configure({Analytics: { AWSPinpoint: { appId: 'YOUR EXISTING PINPOINT ID', region: 'YOUR REGION'} } } ); https://aws-amplify.github.io/docs/js/analytics#manual-setup
    elkana lesmond
    @elkana972
    Hello every body ! How use Analytics.updateEndpoint for obtain, country ,city ....?
    Daniel S. Dantas
    @dantasfiles
    @elkana972 Are you trying to do geolocation search?
    Khoi
    @khoiphan21
    Hi all, I have been working with the AWS SDK AppSync API in my Angular Amplify project. I have been working mostly in node.js and everything runs in my tests. However, when I served the app, it turns out that new AWS.AppSync() does not run in the browser because when loaded in the browser, the AWS object does not have a AppSync property. Does anyone know how to use the AppSync SDK in the browser? Thanks
    Ankit Nigam
    @ankitnigam__twitter
    Amplify.storage gives signed out status at initialise but as soon i try to upload any file i get a hit to state listener as guest user. Why not to have guest user as default, if my configuration says defult: GUEST Access.
    Also Can any one confirm about background transfer, nothing is documented yet about background transfer using Amplify iOS SDK.
    Vladislav Sorokin
    @sorokinvj
    hey guys, is anyone here with 5 min of free time and willingness of helping a struggling developer? )
    crtl
    @crtl
    Hi guys, im currently trying to setup amplify auth to try it out and I am having trouble setting up my oauth clients (google and facebook). The docs state that:
    "After adding your Social provider information into the Amplify project setup, the domain that was created must be added into the Social provider configuration to complete the process."
    But where do I get it?
    Can anyone help?
    Daniel S. Dantas
    @dantasfiles
    angelromero
    @angelromero
    Hi guys, if Amplify iOS is in preview mode meaning we can't use it for production, https://aws-amplify.github.io/docs/ios/start?ref=amplify-iOS-btn
    Then how can we use aws cognito from ios?
    angelromero
    @angelromero
    I meant authenticate with facebook with ios+cognito without amplify since amplify ios is in preview
    Christopher Pham
    @iamchrispham
    hey all, is there a way to send verification codes via email when amplify fails to send an SMS code?
    Daniel S. Dantas
    @dantasfiles
    bkkamat
    @bkkamat
    Hello, I just tried to "amplify add auth" and "amplify push".
    Push fails since Lambda no longer supports node 8.2
    need to update to 10x or 12x
    Christopher Pham
    @iamchrispham
    @dantasfiles I'm speaking more specifically in terms of signin, not sign up.
    e.g. some plausible cases: 1. network issues with SMS, 2. SMS spending limits go unnoticed above their limits.
    users should be able to have a secondary MFA method, such as email but the docs seem to point more of that as a step with password recovery or signup
    @bkkamat which version of amplify are you using? you need to upgrade to 4.12 and amplify will automatically bump the node version
    Rigoberto Miranda
    @RigoMiranda
    Hi! I am trying to test Push Notification for iOS using AWS Pinpoint https://aws-amplify.github.io/docs/sdk/ios/push-notifications, but I am getting the following error <Request Id 30 : {"errorMessage":"Internal Server Error","channelType":"APNS","pushProviderStatusCode":"0"}>. I am using a tool called Pusher to send Pusn Notification to the app using the Device Token and it is getting the Pusn Notification. Any ideas?
    Grawave
    @Grawave
    Hi. I have done a website based on this quickstart (https://aws-amplify.github.io/docs/cli-toolchain/quickstart). It currently has the functionality to allow users to register themselves. However, our company would like to be the only entity able to create new users. I'd like our app to only have the possibility to sign in, not to register. How would I go on about this?
    Daniel S. Dantas
    @dantasfiles
    @RigoMiranda have you tried using the aws cli to examine your pinpoint endpoints and users? https://medium.com/@dantasfiles/testing-push-notifications-with-aws-amplify-9126bd621d3a
    Joz
    @Showcase-Joz
    so ive just figured out how to use aws-amplify's Auth.signIn() method to check a cognito pool. now i have to learn about vuex's state management. i can see that there are session token(s) persisting locally, but which one of the 7-9 items (in localStorage) do i save to and set from my Vuex state??.
    Prasad Kawthekar
    @prasadkawthekar
    Hi, can one use PubSub to push data to a React frontend from a Python Lambda function?
    Thiago Garbulha
    @garbulha
    Hi, How are you working safely? on Front end (tokens id, access and refresh tokens )
    w0otness
    @w0otness
    What would be the best way to get GraphQL Schema into an app in a way to generate UI based on fields in the schema?
    AfyGit
    @aftabahmed1286
    I am following the steps to use Amplify Datastore in iOS application from the link https://aws-amplify.github.io/docs/ios/datastore. But, the app is crashing saying "Fatal error: API category is not configured. Call Amplify.configure() before using any methods on the category.: file /Users/aftabahmed/Desktop/PROJECTS/Learning/iOS13/AWSAmplifyDataStoreApp/Pods/Amplify/Amplify/Categories/API/AmplifyAPICategory.swift, line 18". Can anyone help me solve this issue?
    AngeloGiurano
    @AngeloGiurano

    Hi guys, does anyone know if there can be a workaround for this aws-amplify/aws-sdk-ios#2208

    We are using Cognito in production and is causing us bad reviews since after the refresh token is expired users experience a non working app and we have got no solution to handle it, has been already 16 days and not sure if a fix would come in or we need to move away from Cognito

    Rigoberto Miranda
    @RigoMiranda
    @dantasfiles - Thank you for the information. I will
    @dantasfiles - Thank you for the information, I will go through this post and test the push notification
    Daniel S. Dantas
    @dantasfiles
    @RigoMiranda be aware there's currently a Analytics bug that affects push notifications aws-amplify/amplify-js#4711
    andrestone
    @andrestone
    @AngeloGiurano Have you tried the Cognito API?
    Kgadi Kenneth Mphele
    @k3nnet
    Hi guys. is anyone experiencing problems with running amplify push because of the nodejs8 runtime ?
    Rav Panchalingam
    @ravz
    Hi can someone please provide example of creating monetization event from Javascript ?
    anthosey
    @anthosey
    Hi all, please how can I use a custom components for user interfaces (login, signup etc) without using the default provided by <amplify-authenticator></<amplify-authenticator> in Angular/IONIC app
    chittim412
    @chittim412
    Hello guys, is there any way to add api with GET http method using amplify add api. Please help me
    Guilherme Campos
    @gpirescampos
    Hey there. I'm going insane here trying to figure out something that seems to be quite easy. I've spent the last couple of days searching and trying stuff, but I still haven't managed to get this to work. It's related to using queryStringParameters in the API.get method - I need to return a set of elements from my table given a specific param. I simply cannot get the thing to work. I have an API.put method that's working, so both the API and the app are working correctly, but get just doesn't work - even if I send an API.get without params request, I still get a 404. I understand that this issue has been highly discussed, and supposedly a fix was implemented a while ago for this (since queryStringParameters wasn't a working functionality a while ago). Honestly, anything would be helpful as I'm going crazy trying to figure this out ahah
    Noah Walker
    @walkernel
    Can you use amplify to build react native apps for iOS without access to xCode or a Mac,
    ?*
    Non-expo/ejected react native apps that is.
    Aaron Fay
    @aaronfay
    I have a versioned @model using API.graphql(), how do I go about retrieving an older version of my document? Can I simply pass version into the input?
    The documentation doesn't say anything about this :(
    Aaron Fay
    @aaronfay
    Ahghghg, I have a broken cloudformation template now, "CREATE_FAILED TriggerPermissions", and I can't update anything! Any recommendations on how to fix a broken backend config?
    Guilherme Campos
    @gpirescampos
    @aaronfay you can pull your backend configs from AWS - https://aws-amplify.github.io/docs/cli-toolchain/quickstart#amplify-pull. Not sure if that helps
    Gaurang Bhatt
    @GaurangBhatt

    Hello, I am stuck with the below error when using aws-amplify in my react app. Auth.signIn is returning the confirmed user from cognito pool. I also receive the verification code via SMS. However, when I try to call Auth.sendCustomChallengeAnswer I am getting below error. Note that Auth.signIn and Auth.sendCustomChallengeAnswer are in two different methods. Please advise.

    code
    `
    handleSignIn = (a) => (param) => (e) => {
    if (this.validator.fieldValid('First Name')
    && this.validator.fieldValid('Last Name')
    && this.validator.fieldValid('Phone Number')) {

      let username = "+01" + this.state.phoneNumber.replace(/[^\d]/g, '');
      Auth.signIn({
          username, // Required, the username
      }).then(user => {
        console.log(user);
        this.setState({
          ['formActivePanel' + a]: param,
          ['formActivePanel' + a + 'Changed']: true,
          cognitoUser: user,
        });
      })
      .catch(err => {
        console.log(err);
        //TODO Handle ERROR
      });
    } else {
      this.validator.showMessageFor('First Name');
      this.validator.showMessageFor('Last Name');
      this.validator.showMessageFor('Phone Number');
    }

    }

    handleVerify = () => {
    if (this.validator.fieldValid('Verification code')) {
    let challengeResponse = "123456";//this.state.otpCode;
    let user = this.state.cognitoUser;
    console.log("otpCode:" + challengeResponse);
    console.log(this.state.cognitoUser);

      Auth.sendCustomChallengeAnswer({
        user,
        challengeResponse,
      }).then(user => {
        console.log(user);
      })
      .catch(err => {
        console.log(err);
        //TODO Handle ERROR
      });
    
    } else {
      this.validator.showMessageFor('Verification code');
    }

    }
    `

    ERROR
    [ERROR] 57:50.242 AuthError - Challenge response cannot be empty

    Guilherme Campos
    @gpirescampos
    @GaurangBhatt in order to confirm the registration after receiving the code, I'm using Auth.confirmSignUp not Auth. sendCustomChallengeAnswer. I'm using email confirmation though, not sure if that changes anything
    Gaurang Bhatt
    @GaurangBhatt
    @gpirescampos thanks for quick response. I will try that.