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

7th
Sep 2015
Firoz Fazil
@ffazil
Sep 07 2015 12:28
In the OAuth2 with JWT example, I curl the auth server and get the access token. But when I try to curl the gateway endpoint using the access token, I get a 401. How do I curl the endpoints in the gateway(proxied by Zuul)?
Dave Syer
@dsyer
Sep 07 2015 12:30
With a cookie would be the normal way
Firoz Fazil
@ffazil
Sep 07 2015 12:31
How do I get the cookie?
Dave Syer
@dsyer
Sep 07 2015 12:31
Authenticate with the gateway
That's what the sample app does
So anything else you do is customization
Firoz Fazil
@ffazil
Sep 07 2015 12:32
You mean curl the /login in the gateway?