Access token is short lived and used to authorise the apis Refersh token is long lived and used particularly to get the new access token in case of expiry. Also, it is not good way to store your tokens in local storage as it can be easily accessible via window object. So, better store it in cookies with http only so that it cannot be accessible via native js methods.
Hi sir, my request is to make straight away interview questions and answers video sir, that could help us learn more things in a shorter time , thanks a lot for this video sir ❤
You should tell right away if the answer given by candidate is right or wrong, you just say sure and move on like bro dont come out as a arrogant person, have some decency. You should learn taking interviews yourself first IMO
Appreciate your feedback. Can you please share where you feel I'm arrogant? You can mention the video timing , I will surely correct it in my next video.
@@careerwithvasanth like how you respond to answers, it should be positive, you sounded bit negative or harsh in your feedback And you give ur feedback in the end, rather it should be right after the answer where you can explain like this is the right way.
Harsh part I will surely consider and try to improve. Regarding feedback that is not how interviews work. If I keep giving feedback in the middle, then the candidate feels distracted. So these interviews are conducted the way how actually interviews work
@user-jn5pv6oo9d I don't feel any arrogance here He is making efforts to help people out there. At least don't demotivate him, analyse and provide your feedback carefully.
Access token is short lived and used to authorise the apis
Refersh token is long lived and used particularly to get the new access token in case of expiry.
Also, it is not good way to store your tokens in local storage as it can be easily accessible via window object. So, better store it in cookies with http only so that it cannot be accessible via native js methods.
do we store refresh token in cookies
@@chromegoogle-yi4jv yes
Thanks Vasanth, it's very helpful for me. it means a lot. 👍
My pleasure 😊
Good explanation on Authentication and Authorization architecture,
Do you have a separate video for that?
Not yet, definitely will add it my backlog to create a video
@@careerwithvasanth Wow! I can't wait to learn from you sir and dominate my interviews!
Thank you Vasanth❤
Does same-origin-policy not applies for local storage ?
Hi sir, my request is to make straight away interview questions and answers video sir, that could help us learn more things in a shorter time , thanks a lot for this video sir ❤
Planning to record same videos today, you should see them in coming weeks
@@careerwithvasanth "Awesome, sir! I'm eagerly waiting to learn from it!"
You should tell right away if the answer given by candidate is right or wrong, you just say sure and move on like bro dont come out as a arrogant person, have some decency.
You should learn taking interviews yourself first IMO
Appreciate your feedback. Can you please share where you feel I'm arrogant? You can mention the video timing , I will surely correct it in my next video.
@@careerwithvasanth like how you respond to answers, it should be positive, you sounded bit negative or harsh in your feedback
And you give ur feedback in the end, rather it should be right after the answer where you can explain like this is the right way.
Harsh part I will surely consider and try to improve. Regarding feedback that is not how interviews work. If I keep giving feedback in the middle, then the candidate feels distracted. So these interviews are conducted the way how actually interviews work
@@careerwithvasanth I understand but this is mock interview, if changing the interview format helps viewers then you should consider changing it.
@user-jn5pv6oo9d
I don't feel any arrogance here
He is making efforts to help people out there.
At least don't demotivate him, analyse and provide your feedback carefully.