rest - How to perform authorization in RESTful requests with angularjs? -


i using angularjs make rest requests api requires authorisation. authorisation requires request signed (similar amazon s3) , signature sent in headers.

i unsure how securely angularjs. client side credentials need embedded in js code exposes massive security hole.

i assume i'm missing obvious here? thoughts appreciated.

no, aren't missing anything. think possible solution here write own authorization backend hold credentials , return token application.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -