Login Popup Issue

Kalp Prajapati 3 years ago

I implemented this traccar API in my website so there was one popup coming when I entered first time in browser.

1.Image of popup comes when start my web-app.

Popup

  1. Here image of API's there were session and server API called but there was token API status was pending.
    API Error

When I give username and password and then press signin button on popup then traccar API working fine. But when I press cancel button of popup then token and all other API cancelled and HTTP 401 Unauthorized-WebApplicationException(SecurityRequestFilter: 126<...) this error gives by all the cancelled API's.

I expected remove popup login issue.

Anton Tananaev 3 years ago

You probably have some issues with the session cookie. Are you hosting your app separately from the API? If yes, I would recommend setting up a proxy.

Kalp Prajapati 3 years ago

Into this case this popup comes only one time when we restart computer and try to login into this website. I already set the session into this site. But there is JSESSIONID is not set in first time. When I login through popup so JSESSIONID is set. Please say more abut how I will set JSESSIONID into my site?

Anton Tananaev 3 years ago

It is set automatically by the server.

Kalp Prajapati 3 years ago

But in my case it can't be set by default.