Hey infosec twitter. I have an API that's protected with bearer auth. No cookies anywhere. Can I 'Access-Control-Allow-Origin: *' safely?
-
-
Replying to @andreasdotorg
not sure if this is a serious question :D so a semi stupid answer: then don't allow the Authorization header via CORS
1 reply 0 retweets 1 like -
Replying to @insertScript
It's actually a serious question. And the answer of course doesn't help, because we need the auth header for auth.
1 reply 0 retweets 1 like -
Replying to @andreasdotorg
sry then^^ difficult to tell as it highly depends how your bearer token is implemented. I assume whitelisting specific domains is no option?
3 replies 0 retweets 1 like
Replying to @insertScript
Consider the bearer token to be nice and all. So why would I even want to whitelist, if I have a working protection mechanism for the API?
7:44 AM - 10 Oct 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.