Create refresh token for authentication


#1

Hey guys.

i’m trying to build a login with the use of device uuid, access token and a refresh token. So far i’ve created a api call to the server, where i get a access token in return. I’ve also got the uuid but doesn’t use it yet.

The access token is bound with JWT with the header, body and footer. As i have seen, the refresh token doesn’t seem that long and therefore i was wondering how this is created.

Can someone help me clarify this?


#2

Hey Fillah,

i have read your post and can provide you the best solution
so let me know the best suitable time to communicate with you
and please join me on Skype for detailed discussion so we can start this earliest

My Skype id: cis(dot)am3

Thank & Regards
Frank


#3

it is actually an easy question:

Do i just create my own randomly generated string or is it something in JWT that i have to call / use? :slight_smile:

thanks for the quick answer!


#4

can you connect me on Skype, that will be more convenient to discuss a

Thanks & Regards
Frank


#5

but for future reference its better to do this on the forum

@fillah did you try angular2-jwt? I handles quite a lot for you


#6

I’m using angular-jwt as it is for now. To solve this I just created a method for uuid to make it as unique as possible. Does angular2-jwt have the refreshtoken?