News for hackers. Stuff that matters.
Re:Things you should know about Token-based Authentication by mixedbit on Tuesday January 28, 2014 @12:08PM (#7138219)
Am I right that for browser use case this mechanism can be used only to authorize access to resources that are requested with JavaScript?

For example, I can't use an 'img' HTML tag to include images that require authorization, because browser won't set a Bearer header while requesting images?

Re:Things you should know about Token-based Authentication by woloski on Tuesday January 28, 2014 @12:23PM (#7138321)
For images that are protected you can use this approach

http://blog.auth0.com/2014/01/27/ten-things-you-should-know-...

Re:Things you should know about Token-based Authentication by mixedbit on Tuesday January 28, 2014 @12:33PM (#7138391)
But with tokens in URLs you can do CSRF.
Re:Things you should know about Token-based Authentication by jfroma on Tuesday January 28, 2014 @12:47PM (#7138488)
No, you need the signed token for the link, that will only works for that particular url (protocol, host, path, query), for a breve period of time and only for GETs. As mentioned in the blog post, you can check hawk bewits:

https://github.com/hueniverse/hawk