Login through API

Do you know some way to log in traccar service through API?
I wanna be able to log in traccar by log in from another server, any help?

Anton Tananaev7 years ago

You can login via API, but the problem is that your server will have session cookie and not your client.

I want easily log in my server through the API, I mean, when I log in into my other server that is a django app, make the request to session and redirect me to the traccar server url, How complicated it is?

Anton Tananaev7 years ago

I don't think it's very complicated, but most likely you would need to make some changes in Traccar.

Ok, thanks! I'll try to do it....

Hi again, I'm doing some of research and I read this https://github.com/vitalidze/traccar-web/issues/40

There is some way to do this in traccar? I guess is not the same thing..

Anton Tananaev7 years ago

You can use token to login user.