How To Add Authentication To Your App In 5 Minutes

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 44

  • @ProgramWithErik
    @ProgramWithErik  5 місяців тому

    Hey everyone! This is an older video. If you are starting with AWS Amplify today I'd highly recommend to check out this blog post on using AWS Amplify Gen 2! It's the latest version of Amplify. aws.amazon.com/blogs/mobile/amplify-gen2-ga/

  • @dev-am1303
    @dev-am1303 3 роки тому

    thank you Erik. content like this is the reason why I don't want to miss out any video from your channel.

  • @Anonymous-xy8ps
    @Anonymous-xy8ps 3 роки тому +3

    I was waiting for such a video..Thank you so much Erick👏👏🔥

  • @perudevlabs
    @perudevlabs 3 роки тому +1

    Erick, this is pure gold just what I needed, I like AWS a lot, would love to see a comprehensive documentation in most products, that's the part that burdens dev experience with AWS.

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +1

      Yeah! We are trying to add more docs all the time! Thanks for the input

  • @cristiandavid7136
    @cristiandavid7136 3 роки тому +1

    Hello Erik , what solution u would use to do pubsub/realtime communication between backend and frontend ?

  • @DedicatedManagers
    @DedicatedManagers 3 роки тому +1

    Congrats on joining AWS! I’d love to hear about how you joined. (Did they seek you, or did you apply, etc)

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +2

      I got contacted by a recruiter! That easy!

    • @eddwinnas
      @eddwinnas 2 роки тому

      Soon the whole world will work at amazon

  • @igorbondarenko4129
    @igorbondarenko4129 3 роки тому

    eeeee
    the last week has passed for this task and tomorrow is the end of the deadline)))
    thank you very much)

  • @Saul50489
    @Saul50489 2 роки тому

    Really good content! Thanks for sharing with us! Keep up the good work.

  • @caiovinicius7871
    @caiovinicius7871 3 роки тому

    Great Video, Erik!

  • @KaranOdedra
    @KaranOdedra 3 роки тому

    I have ond question, not related to this video but with jwt authentication. I have a jwt authentication in my current application, storing the tokens in localstorage and also refreshing it just before the access token expires automatically.
    One problem which I'm facing is, race condition when opening the application in 2 or more tabs. As it will request the tokens at the same time. Any idea how to solve this?

  • @andyqu9908
    @andyqu9908 3 роки тому

    Erick, I copied exactly what you did in my project but got and error saying Uncaght TypeError: Object(...) is not a function, is there an easy fix or can i discuss more detail with you somewhere?

  • @jonathanbereyziat4063
    @jonathanbereyziat4063 3 роки тому

    Hi ! Is it also possible to connect an existing backend ? In my projects I usually use FastApi in python to do my backend and I'd like to connect to a vue interface using the amplify auth panel. What would be the best way to do this ?

  • @mustafamuse2904
    @mustafamuse2904 3 роки тому +1

    Eric can u make quiz question in vue3 js please.

  • @DedicatedManagers
    @DedicatedManagers 3 роки тому

    How do you use the authenticated user to access a backend api? Does aws use id tokens & access tokens?

    • @danielstill5625
      @danielstill5625 3 роки тому

      Simply adding @auth and allow: "owner" to a model in the GraphQL schema file and it is Automatic that all queries only create/read/update/delete the data for that user.

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +1

      Yes! Daniel mentioned one way. You can also use the JWT token and verify it in your backend , or you can use lots of AWS services that integrate with Cognito to do authorization. It can all be done with the CLI!

    • @DedicatedManagers
      @DedicatedManagers 3 роки тому

      @@ProgramWithErik I’d love to see it done 🤓

  • @computerscience1152
    @computerscience1152 3 роки тому +1

    Need more svelteJS tutorials...
    BTW the vids are great

  • @DedicatedManagers
    @DedicatedManagers 3 роки тому

    What’s the aws admin UI tool you built using… does it use Vue?

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +1

      The UI library is built in Vue, React and Angular, and the admin ui was built in React I believe

  • @lionben8777
    @lionben8777 3 роки тому

    Would be nice if something like discord would be included as a login option. I tried to set up a login with discord with nuxt/auth but could not get it to work.

  • @TheRvh70
    @TheRvh70 3 роки тому

    Good stuff. I am really tempted to do a rewrite of my current cognito system now 😉.
    But a more technical question: does this cognito setup support refresh tokens and a code challenge (PKCE) during login?

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +1

      Yes! To both. So the Amplify JS library will automatically handle token refresh.
      As for PKCE it works only with the hosted UI with the OAuth flow. The normal login does not use OAuth, it uses SRP.

    • @TheRvh70
      @TheRvh70 3 роки тому

      Thanks a lot! You've just earned yourself a new happy subscriber.
      So if you really want to use OAuth, then using amplify ui on your own frontend doesn't really apply (apart from the initial login button that performs the redirect)

  • @SergeiZahharenko
    @SergeiZahharenko 3 роки тому

    looks nice :) lets hope I'll try it one day.

  • @jenstornell
    @jenstornell 3 роки тому +10

    In 22 minutes 😉

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +2

      Well I explained a lot :) cut my talk out and you can add it in 5 minutes

    • @lonelylove2010
      @lonelylove2010 3 роки тому

      right... it's 22+ minutes

  • @themarksmith
    @themarksmith 3 роки тому

    Come on man, signing in with Google, etc is a must.. should have included multiple ways to signup/login... so yes I would like to see how you can offer multiple ways...

    • @themarksmith
      @themarksmith 3 роки тому

      @@FS-yq9ef No it's not, he asks viewers to let him know if we would like to see a separate video on that which is ridiculous as 90% of people want to use their Google, etc.. accounts to signup/in...

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому +3

      Sure! I can add another video on adding google and other social logins ! I wanted to keep things simple first

    • @themarksmith
      @themarksmith 3 роки тому +1

      @@ProgramWithErik Thank you, that will be much appreciated! Great content!

    • @glowiever
      @glowiever 3 роки тому

      yes. this will help tremendously

  • @cwinter90
    @cwinter90 3 роки тому

    Do you happen work with an Andrew S****?

  • @wasd3108
    @wasd3108 3 роки тому

    5min, but vid is 20min, good oneeeeeeeee

    • @ProgramWithErik
      @ProgramWithErik  3 роки тому

      Ha! Yeah maybe I should change the name…

    • @wasd3108
      @wasd3108 3 роки тому

      @@ProgramWithErik It was the clickbait butthurt. It works. (jk, I'd click any title)

  • @vNYCblade
    @vNYCblade 3 роки тому

    WTF DUDE... I Dont recognize you...
    ERIK, BRING THE BEARD BACK...
    PS: Good video!