Passing credentials to service stack rest api through angularJs and $http.get

Viewed 3258

I have a service stack web service with the CorsFeature enabled.

I am calling a service through AngularJS's $http.get method with the setting withCredentials to true:

$http.get(url,{ withCredentials: true})

How do I securely pass the credentials to be used by the rest api?

1 Answers
Related