AbanteCart Development > API Development

not logged in

(1/1)

bamboo:
When I login with the "test_api.php" I get the login success response. Then when I go to my shop I see "Welcome back" with my name next to it, but in the pull down under that i'm prompted to login.

When I login directly from the shop everything works fine. Any ideas?

abantecart:
I do not see or understand the problem. API authentication is not related to your normal admin login process.

melikay74:
I'm working on this problem with user bamboo who posted this question. The issue is not with the admin login. The issue he's referring to is logging in as a user to the shop on the website. Are there additional steps we need to take to fully log in a user when they log in on a different page on the site, using the API?

abantecart:
Check this API test to see what is needed:
https://github.com/abantecart/testing_tools/blob/master/test_api.php#L230

bamboo:

abantecart, thanks for responding. This is exactly what we're doing. When we login from "test_api.php#L230" we get a successful login message, then when we go to the shop it says welcome back bamboo. But when you check the pull down menu under the name it prompts you to login.


Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod