Back to front pageView on Hacker News (opens in a new tab)Ask HN: What's the recommended method of adding authentication to a REST API?397 pointsby somtum (on Hacker News)8 years agoComments (249) 36 threadsShow all commentsShowing thread 7 of 36[-]scandox8 years ago2 replies#PAST looks good.https://github.com/paragonie/pastBasically JWT but without the pitfalls as far as I can see.Spone8 years ago#Downside is that this is very new and there is only a PHP library.j_s8 years ago#Definitely depends on timeline; PAST is a reasonable recommendation gaining momentum as best practice. The recent Show HN annoucement discussed many caveats of authentication tokens:Show HN: PAST, a secure alternative to JWT | https://news.ycombinator.com/item?id=16070394 (2018Jan:361 points,137 comments)
Ask HN: What's the recommended method of adding authentication to a REST API?397 pointsby somtum (on Hacker News)8 years ago
scandox8 years ago2 replies#PAST looks good.https://github.com/paragonie/pastBasically JWT but without the pitfalls as far as I can see.
j_s8 years ago#Definitely depends on timeline; PAST is a reasonable recommendation gaining momentum as best practice. The recent Show HN annoucement discussed many caveats of authentication tokens:Show HN: PAST, a secure alternative to JWT | https://news.ycombinator.com/item?id=16070394 (2018Jan:361 points,137 comments)
Comments (249) 36 threads
Show all comments
Showing thread 7 of 36
https://github.com/paragonie/past
Basically JWT but without the pitfalls as far as I can see.
Show HN: PAST, a secure alternative to JWT | https://news.ycombinator.com/item?id=16070394 (2018Jan:361 points,137 comments)