These are chat archives for spring-guides/tut-spring-security-and-angular-js

16th
Jul 2015
Pedro Vilaça
@pmvilaca
Jul 16 2015 18:01
Hi guys
I’m having a problem with cookies
I’m using the ui-server from the part VI blog app
pointing to my auth server
that has a custom login page made with angular.js
everything is working fine until the point that the auth server is sending a redirect to the ui-server
after the post to /login I’m setting a new cookie with a new CSRF token to /uaa context
and somehow.. in the request after that POST, I don’t have any cookie being sent
any idea why I’m loosing the existing cookies?
Dave Syer
@dsyer
Jul 16 2015 18:05
two servers on the same host?
Same context path?
Pedro Vilaça
@pmvilaca
Jul 16 2015 18:07
same host (localhost)
different context
‘/' and '/uaa'
Dave Syer
@dsyer
Jul 16 2015 18:41
"Loosing" isn't a word by the way.
I don't know about the cookies
I'd have to follow the flows in more detail
Pedro Vilaça
@pmvilaca
Jul 16 2015 19:39
Sorry for the new word ;)
I can post more details tomorrow, if you've some time to take a look at it
Dave Syer
@dsyer
Jul 16 2015 20:15
Tomorrow isn't great for me, but maybe Monday
Pedro Vilaça
@pmvilaca
Jul 16 2015 23:37
Ok, I'll ping you on Monday
Thanks!