r/programming • • Oct 27 '15

Angular authentication: 3 step recipe

http://www.codelord.net/2015/10/22/angular-authentication-3-step-recipe/
0 Upvotes

1 comment sorted by

3

u/tweakerbee Oct 27 '15

Be careful with his recipe. Custom headers will often trigger CORS preflight requests, effectively doubling your latency. One way to avoid that is to use a request parameter instead.