Hello, I can access the admin page in postman normally, but I can’t access the user page, it always returns me:
{
“status”: false,
“error”: “Your account is inactive or deleted / expired ! Please contact to administrator”,
“response_code”: 400
}
But the account is active and I can log in using the same username and password, do you have a different token for the end user? I’m testing in > POST Login
Here you need to have the same auth-token in headers too, which is on the left side.
And when you receive true status,In admin login in so you will have token on the right side that token you need to add in environment but he should be in your backend too. If not then please check.
Hi @tushar.devani,
I can normally access “admin” through postman, but with the file key /opt/ASTPP/web_interface/astpp/addons/Community/api/web_interface/astpp/application/config/api.php
What I can’t do is access the end user account, in POST Login in username I put the account number, it seems not to be a token problem, as it is communicating, but I get the error below:
Hi @palak, I tried using another account.
If I try to log in using the account email it returns me:
{
“status”: false,
“error”: “Username / Password is incorrect.”,
“response_code”: 400
}
If I try to log in using the account number it returns me:
{
“status”: false,
“error”: “Something went wrong, Please contact administrator.”,
“response_code”: 400
}
Hi @palak,
Using the SIP login and password I can access and see the user token, is it possible to access the user account page with this token without typing username and password, how would this link look? Thanks
Hello @dbbrito
Good day,
Please edit your variable in the environment please add x-auth-token.
Also please check your customer expiration date and active status.
Thank You
Ok, I was able to access it through postman.
But I want to know if there is any way to implement an auto-login, for example: the customer clicks on the invoice sent by email and 1 click opens it without having to enter a username and password, how can I do this using a token?
Thanks and regards