Тёмный

Using AWS Cognito for User Authentication/Registration 

CD
Подписаться 1,5 тыс.
Просмотров 19 тыс.
50% 1

Please consider helping me provide new content by donating to my new Patreon account / durancoding
----------------------------------------------------------------------------
Here's some affiliate links:
For screen Recording, I use Bandicam: shareasale.com/r.cfm?b=168820...
----------------------------------------------------------------------------
This is a demo on how to integrate AWS Cognito for your web application's Use Authentication/Registration.
With this you'll no longer have to write code to store user login credentials on your own Databases.
Also check out the follow up video which shows how to decode AWS Cognito's JSON Web Token response after the user successfully registers/logs into your site: • AWS Cognito - Part 2 -...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Social Media Links:
Facebook: / cd-corner-107688251922566
Instagram: / cd_corner
Patreon:
/ durancoding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here is a time line of the specific items discussed in this video
Min:Sec Description
0:00 Intro on AWS Cognito
0:44 Demo of existing Web App with AWS Cognito
1:30 Briefly discuss Python to run site as simple web server
2:00 Python running your local html pages in a simple local web server
2:20 Existing App linking to AWS Cognito User Authentication/Registration
5:00 Showing new html pages with no AWS Cognito link
7:30 Running new html pages on simple server with python (not linked with AWS Cognito yet)
8:20 Going to AWS Cognito site to create a User Pool
10:40 Creating an App Client in the User Pool
11:35 Adding Callback and Sign out URLs in App Client Settings
13:22 Add a domain name
14:08 Finalizing settigs in App Client Settings
14:54 Launch Hosted UI available
15:25 Copying AWS Cognito User Authentication/Registration url to html pages.
16:00 index.html now links to AWS Cognito
16:38 Registering to my local website via AWS Cognito
17:05 Email Verification Code after registering
17:50 Looking at AWS Cognito User Pool to see who's registered to your page
18:30 Finally Confirmed, logged in and routed to loggedin.html
18:52 AWS Cognito User Pool user is now confirmed.
19:10 Add AWS Cognito Logout URL to loggedin.html page
20:26 Logout feature works in website using AWS Cognito
20:56 Last note that the redirect_uri and logout_uri has to match the Call back and Signout URL's in AWS Cognito User Pool

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@stevemerchant1862
@stevemerchant1862 3 года назад
Thanks very much. A perfect SIMPLE demo that helps demystify the intricacies of the AWS Cognito documentation
@bikramnayak6099
@bikramnayak6099 2 года назад
Awesome. well explained in such simple steps. Thank you so much.
@blanky_nap
@blanky_nap Год назад
Great explanation!
@benjaminargueta3777
@benjaminargueta3777 3 года назад
Very well explained, easy to follow. Subscribed.
@CDCentral
@CDCentral 3 года назад
Thanks! Glad it was helpful.
@shamran99
@shamran99 3 года назад
Clearly explained. Thanks!!
@CDCentral
@CDCentral 3 года назад
Glad it was helpful!
@purnachandar2202
@purnachandar2202 3 года назад
Hey! Thanks for the tutorial. Could you please help with customized UI??
@rafaelramirez8792
@rafaelramirez8792 2 года назад
Thanks for the tutorial.. If I want to redirect the login page to another page in my site, what code should I set in the page? Thnks.
@awsservices8144
@awsservices8144 3 года назад
grt...thankyou
@CDCentral
@CDCentral Год назад
Welcome!
@msp767
@msp767 2 года назад
When I try this, and remove the response_type argument from the logout link, I get "Required String parameter 'response_type' is not present"
@mrafayshams3089
@mrafayshams3089 2 года назад
Great Tutorial! Once logged in successfully; how can we get the email id of the user currently logged in in Javascript?
@CDCentral
@CDCentral 2 года назад
Thanks! To get user data including their unique ID and email after logging in can be seen in this follow up cognito video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ALgbhPaMT1M.html
@arifsultan2009
@arifsultan2009 2 года назад
Hi Great video.!! I have doubt. What would happen if I hit the home page directly without logging in.? Will I be able to access the page? If yes then how to handle that.
@CDCentral
@CDCentral 2 года назад
Thanks for watching! You can prevent users from fully loading the home page by verifying the access token in the page DOM ready function using JavaScript/jQuery. If the access token isn't valid/expired/or doesn't exist then you can route the user back to the login page or other page. For more info about the DOM ready function see www.tutorialspoint.com/What-is-document-ready-method-in-jQuery For the aws cognito api for validating the access token docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-verifying-a-jwt.html
@cairink2110
@cairink2110 Год назад
automatically being signed in, when I click on the sign in button. Any solution?
@hardspartan013
@hardspartan013 3 года назад
Hi! Thanks for your great content! Subscribed!! Could you share de customized UI? Pleeeeease! :D Regards from Colombia!
@ManishYadav-vs7ge
@ManishYadav-vs7ge Год назад
UI will be auto-generated once you create an app client.
@saptarshisengupta5073
@saptarshisengupta5073 2 года назад
why would someone use netbeans in 2020?
@CDCentral
@CDCentral 2 года назад
why not? for me its user friendly, stable and solid. For my purposes it gets the job done for me. Is there a use case where it doesn't get the job done for you?
Далее
Amazon Cognito Tutorial for Beginners | AWS Cognito
34:21
Amazon Cognito Beginner Guide
24:55
Просмотров 113 тыс.
Can We Save Goku In 5 SECONDS⁉️😰 #dbz #goku
00:15
AWS Cognito - Part 2 - Decode User Data returned
11:56
Просмотров 1,3 тыс.
Secure API Gateway using Cognito Authorizer (NEW)
29:51