Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

What is the idea of using Refresh Token ? #7509


User avatar
0
moustafa created

Hello everyone

As you know ASP.NET Zero implement th JWT for authentication process what about Refresh Token, it's idea ?! , what 's the relation between them and session and cookies in our app

Actually i got confused a lot of terms, protocols,and technologies are been implemented but i don't understand the main idea , what are these used for exactly ?

i tried many times to search but i got lost and confused more

i hope someone could write down a full explanation or good answer to make every thing clear and nice

OAuth , OpenId Connect, Identity Server, JWT, Access Token, Refresh Token, Security Stamp

what i need is to understand to full picture of authentication process implemented in ASP.NET Zero and all the technologies used for achieving that in some details please

Thanks in advance :)


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @moustafa

    It is hard for us to explain all these common terms. Refresh token is used for security purposes. If someone gets the token of a user, actaul user can get a new token using refresh token and invalidate the old token. So, in that way, hacker can't use the token anymore.

  • User Avatar
    0
    moustafa created

    Hi my friend @ismcagdas

    Thank you for your reply

    I know that it's hard to explain all these common terms nad i know that the Refresh token is used for security purposes

    but i hope you can schedule you time or figure something to explain these terms in a short period simultaneously in different sessions because this topic is very very important and confused for a lot of developers

    thank you

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @moustafa

    Unfortunately, we can't help you about these common sofware topics. You can find very good documents on the web about those topics. If you have AspNet Zero specific questions, we can try to help you.

    Thanks,

  • User Avatar
    0
    moustafa created

    @ismcagdas could you please refer me to articles or blogs related to that topics ?