Hi, you described that using your access token is ...
# support-questions-legacy
i
Hi, you described that using your access token is more secure than JWT. But on your site not so many reasons why and its a problem. So can you write a bit more detailed comparison between your access token and JWT?
r
Hey! Cause: - The access token is not exposed to the frontend. - The signing keys of the access token auto change.
i
hmm, don't understand clear
r
I'm not sure how to explain it better
Do you have any more specific questions?
i
I want to use JWT instead of access tokens. I see it more simple way. To be sure I go to supertokens site with comparison of this and wrote you, bc didnt find enough information. So you wrote me about signing keys is auto change - its good but i dont understand what is changed from JWT? And you wrote that access token is not exposed to backend, for the first seeing this message its like a disadvantage... And there is only two reasons of using access tokens instead of JWT - wow, ''it's way more secure'', seriously....
it has info about why you shoudln;t use just a JWT for sessions
And using a combination of JWT + refresh tokens (which we do) is much better
So it's not really about access token vs JWT. It's more about access + refresh token vs just a JWT.
i
Ok, now its clear, thank you and sorry, if i were so rude
r
no worries.. sorry if i seemed dismissive. That wasn't my intention 😅
what i had actually meant to ask was can you rephrase your question. haha
but either way. Happy that the article was helpful 🙂
2 Views