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.
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
Thanks! To get user data including their unique ID and email after logging in can be seen in this follow up cognito video th-cam.com/video/ALgbhPaMT1M/w-d-xo.html
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?
Thanks very much. A perfect SIMPLE demo that helps demystify the intricacies of the AWS Cognito documentation
Great explanation!
Awesome. well explained in such simple steps. Thank you so much.
Clearly explained. Thanks!!
Glad it was helpful!
Very well explained, easy to follow. Subscribed.
Thanks! Glad it was helpful.
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.
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
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.
Hey! Thanks for the tutorial. Could you please help with customized UI??
Great Tutorial! Once logged in successfully; how can we get the email id of the user currently logged in in Javascript?
Thanks! To get user data including their unique ID and email after logging in can be seen in this follow up cognito video th-cam.com/video/ALgbhPaMT1M/w-d-xo.html
When I try this, and remove the response_type argument from the logout link, I get "Required String parameter 'response_type' is not present"
grt...thankyou
Welcome!
automatically being signed in, when I click on the sign in button. Any solution?
Hi! Thanks for your great content! Subscribed!!
Could you share de customized UI? Pleeeeease! :D
Regards from Colombia!
UI will be auto-generated once you create an app client.
why would someone use netbeans in 2020?
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?