2

There are main page["/"] and sub pages["/admin/lines", "/admin/line:{idx}"] and I set "access_token" cookie to login when I logged in and it works fine.

There are access token cookie and Path is "/" in [F12 - Application - Cookies] but when I refresh in the sub pages (not main page) there is another same access_token created but path is /subpage like this screenshot:

enter image description here

The problem is that new access_token other Path Value is none so page keeped route to login page.

Why does this same token keep showing?

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Nick
  • 21
  • 3

1 Answers1

1

add to index.html header:

<base href="/" /> <!-- for local host -->

Based on this answer.