monkey-codes / spring-boot-authentication

71 stars 21 forks source link

Login URI on 9991 not 8080 #3

Closed OlivierMary closed 4 weeks ago

OlivierMary commented 6 years ago

Hi, first thanks for all this good job.

I don't understand something with your zuul config:

zuul:
  routes:
    auth:
      path: /auth/**
      url: http://localhost:9991/auth/
      sensitive-headers:
    resource:
      path: /api/**
      url: http://localhost:9992/
      sensitive-headers:

Why when I go on http://localhost:8080/wep-app I'm redirect to http://localhost:9991/auth/login and not http://localhost:8080/wep-app/auth/login why ? After login all call to /api/ call http://localhost:8080/web-app/api/1 so zuul config ok after login.

I can go on http://localhost:8080/web-app/auth/login directly but it's not the goal.

Any idea?