News for hackers. Stuff that matters.
Re:Ask HN: Cookies vs. JWT vs. OAuth by Edd314159 on Monday March 05, 2018 @07:46AM (#16520642)
JWTs are small enough that they can fit in a URL most of the time. So there's always that option.
Re:Ask HN: Cookies vs. JWT vs. OAuth by TheAceOfHearts on Monday March 05, 2018 @08:30AM (#16520887)
I believe it is generally considered unwise to attach your authentication token to the URL, as it's highly likely to end up in a bunch of access logs.
Re:Ask HN: Cookies vs. JWT vs. OAuth by imauld on Wednesday March 07, 2018 @12:18AM (#16534418)
If the token is only good for one use or for a short period of time (minutes not hours) it's probably fine. I've used them in URL's for invite links. One time use that expire after a short amount of time. Probably not perfect for high security applications like banks or health care but for most applications it's fine.