Creating a custom authentication flow from scratch with AWS Amplify and React

  Рет қаралды 28,435

Nader Dabit

Nader Dabit

Күн бұрын

Пікірлер: 56
@amandaroseortiz7461
@amandaroseortiz7461 3 жыл бұрын
loved this! super basic but definitely gets the basics across! Im newish to react and AWS has such minimal documentation. Glad you went over everything in such detail!
@naderdabit
@naderdabit 3 жыл бұрын
Thank you!
@nilsb.3115
@nilsb.3115 2 жыл бұрын
being a senior backend dev/architect there really isn't too much documentation out there on how to implement custom flow on the frontend part, at least not for frontend newbies like me ;-) helped me a lot! so big thanks to you for not only this particular video :-) I often end up with your videos or repos when trying to find solutions to particular problems!
@kaminer6212
@kaminer6212 Жыл бұрын
This is a great. Thanks!!! I had some problems understanding the AWS documentation.
@suhwanc
@suhwanc 3 жыл бұрын
thank you very much.. I was only going to do the customization through withathenticator. Thanks to that, I realized how deep it was.
@jasonko1202
@jasonko1202 3 жыл бұрын
Nice, concise, and super useful tutorial! Thanks Nader :)
@syremusic_
@syremusic_ 3 жыл бұрын
Fantastic tutorial, thank you Nader!
@zepelega22
@zepelega22 4 жыл бұрын
Hi Nader, I watched the last live stream, it was awesome. I asked you about multi-tenant with Amplify / AppSync, you answered me that the documentation was about to be released, any updates about that? It would realy help me. Thank you for the content you have already made available to us. Hello from Brazil.
@ErickWendelTraining
@ErickWendelTraining 4 жыл бұрын
Brazillians everywhere! hhee \o/
@m4rcosazevedo
@m4rcosazevedo 4 жыл бұрын
@@ErickWendelTraining always....
@richteraueisen4844
@richteraueisen4844 3 жыл бұрын
This code is beautiful.. I strive to have my code vibe like this. Thanks Nader
@franco-yvr9799
@franco-yvr9799 3 жыл бұрын
Many thanks, great end to end setup video! With a few extra hours of work, i managed to make a moden login page! At least 20 views are from me ;)
@viveksanghvi4394
@viveksanghvi4394 3 жыл бұрын
ur honestly a godsend
@viveksanghvi4394
@viveksanghvi4394 3 жыл бұрын
also lowkey thought you were GSP for a sec xD
@chandlergersh
@chandlergersh 4 жыл бұрын
This tutorial was awesome! Thank you.
@gowthamdasari6227
@gowthamdasari6227 2 жыл бұрын
Thanks a lot Nader👏
@euricocatumbela9671
@euricocatumbela9671 3 жыл бұрын
I Nader thanks for the great video, please will you explain how to throw exceptions for empty inputs?
@RefactoringRyan
@RefactoringRyan 3 жыл бұрын
Hey Nader! Thanks for sharing this with the community, I got about as far as you did in this video before coming across it with my angular project. The biggest issue I am running into is refreshing the sessions using the session token. It seems like currentSession isn’t working as expected. The token only refreshes on a manual reload of the browser.
@nageshwarip8047
@nageshwarip8047 2 жыл бұрын
Hey Nader, Thanks for sharing this . Its help me lot. I glad if you share auth flow with challengeName with formState 🙂
@jb4948
@jb4948 4 жыл бұрын
Well done!
@IAMTHEMUSK
@IAMTHEMUSK 3 жыл бұрын
Thank you amazing video ! I just had some difficulties cause I didn't want to use username but only email. Be aware that in this case you have to use username and not email as input And I still have one question, now that we have our proper Auth interface, how are we supposed to manage in the code to show it when it's necessary? I know that with withAuthenticator we just need to add export default withAuthenticator(component), to force the user to be logged. In our case do we just have to check if the user is logged in and if not show the interface instead of the page content? Thanks a lot
@danielgregory1357
@danielgregory1357 4 жыл бұрын
Perfect, thank you!
@ewolz
@ewolz 2 жыл бұрын
Do you have an extra video on forgotten password, remember me or sending email on sign up, would be nice to add some lambda triggers for us juniors. Thanks for the great work.
@StephenRayner
@StephenRayner 4 жыл бұрын
Follow up videos for unit testing with jest and react testing library? Very little in this playlist for unit tests
@revatipatil939
@revatipatil939 3 жыл бұрын
Where the log-in user details will be present? In user Cognito pool only?
@alphaibrahimabarry5410
@alphaibrahimabarry5410 4 жыл бұрын
Thanks Nader, could you share your code on github please?
@SumeetChawla
@SumeetChawla 4 жыл бұрын
Thank you for creating this video. I think all the videos should be collated and kept as links in the Amplify docs somewhere. Any idea why the Hub might not be responding? Am doing the exact thing but seems like the hub is not reacting to the auth events happening. Update: So till I manually dispatched an event from the signout method, the event wasn't trigged. I had to do Hub.dispatch('auth', { event: 'signOut', data: undefined }, 'Auth'); But the documentation mentions that Auth events are already dispatched. Confused? :(
@ErickWendelTraining
@ErickWendelTraining 4 жыл бұрын
UUUuh nice! Can't wait to watch it!
@basics-school
@basics-school Жыл бұрын
is there any recent tuts??
@SuperSarhanWebdev
@SuperSarhanWebdev 3 жыл бұрын
can you please share something article video whatever on how to use @function with graphql to affect the data coming from dynamobd not static data written inside the function code I get lost in the flow
@tinmank
@tinmank 3 жыл бұрын
When I saw custom authentication I thought it is something like passwordless (OTP) login or something. :/
@allysonmolloy710
@allysonmolloy710 3 жыл бұрын
Thanks for the tutorial! I am getting an 'unexpected use of event' error when trying to run the code. How can I fix this? Thanks in advance!
@kettenbach
@kettenbach 3 жыл бұрын
Boss tweets everyday ‼️🙏😀💎
@LeonardoArangoCifuentes
@LeonardoArangoCifuentes 2 жыл бұрын
Hi, I'm using amplify import auth, to import a user pool but I get this error, The selected Cognito User Pool does not have at least 1 Web app client configured. Web app clients are app clients without a client secret. even though I already created an app client in the pool in aws.
@vinayakkirangi2196
@vinayakkirangi2196 3 жыл бұрын
Unhandled Rejection (AuthError): Confirmation code cannot be empty any solution?
@strengergabor
@strengergabor 4 жыл бұрын
Thank you!
@fabianbalmaceda6808
@fabianbalmaceda6808 4 жыл бұрын
Hi Nader, I been working on a personal project using amplify, your videos are very useful. I have some questions for the stream: - How to add and use Cognito groups? - Is it possible to add custom properties to the Cognito user table, on register? Thanks.
@zepelega22
@zepelega22 4 жыл бұрын
Hi Fabián, excuse me for the intrusion, what you hoping to achive is possible via Lambda Triggers. If you will, until the talk, you might want to take a look at the documentation, it's prettie simple to implement, both via Amplify CLI or via Amplify Console. Hope that help, certainly helped me. docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html
@SpurtiB
@SpurtiB 3 жыл бұрын
Nice tutorial. I followed the exact steps but when I enter authentication code I receive error "AuthError: Confirmation code cannot be empty".
@irman3716
@irman3716 3 жыл бұрын
Same here, I am receiving the same error messagge :(
@irman3716
@irman3716 3 жыл бұрын
fixed by changing await Auth.confirmSignUp({username, code}) into await Auth.confirmSignUp(username, code)
@SchooldepotCoUk
@SchooldepotCoUk 4 жыл бұрын
Where can we download the code?
@loganpowell
@loganpowell 4 жыл бұрын
Is that a real banksy?
@rorycawley8334
@rorycawley8334 3 жыл бұрын
"What javascript framework are you using (Use arrow keys)" > none Why didn't you choose react?
@wplearning
@wplearning 4 жыл бұрын
Whats up Nader
@ozankurucu6261
@ozankurucu6261 4 жыл бұрын
Can you share github source code?
@RaulGlasgow
@RaulGlasgow 3 жыл бұрын
no code?
@emmanuelmanana1527
@emmanuelmanana1527 2 жыл бұрын
12:22
@MrEnsiferum77
@MrEnsiferum77 4 жыл бұрын
My question is, how u gonna refactor this one, if tommorow, aws amplify for some reason is gone?
@ApoorvMote
@ApoorvMote 4 жыл бұрын
This was complete misleading. I thought custom authentication will be with using lambda triggers to build auth not have React auth tutorial. I am building amp website that doesn't allow custom javascript in frontend.
Live-coding a Twitch-like video streaming video platform in React
48:17
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 20 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 4,9 МЛН
Serverless Functions in Depth with AWS Amplify
1:08:33
Nader Dabit
Рет қаралды 46 М.
Adding Cognito Signup and Login to your React App with AWS Amplify
16:45
Complete Coding - Master AWS Serverless
Рет қаралды 126 М.
All useEffect Mistakes Every Junior React Developer Makes
22:23
Fine-tuning GPT from Scratch in 15 Minutes with JavaScript
14:41
Nader Dabit
Рет қаралды 49 М.
AWS Amplify: Adding a RESTful backend to reactjs
21:34
Focus Otter
Рет қаралды 35 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 230 М.
AWS Amplify Authentication with React Js
8:33
Last moment Learning
Рет қаралды 8 М.
Create a React Authentication Flow with AWS Amplify
8:36
Ali Spittel
Рет қаралды 18 М.