Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    awt token not work on share hosting.

    General Discussion
    2
    3
    200
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prashant2408 last edited by prashant2408

      It may be happening because there is other token use on site due to sharing hosting.
      Screenshot from 2022-06-01 15-14-47.png
      Screenshot from 2022-06-01 15-14-11.png
      It work fine in first image as it is from local but form server token not works.

      • they are connected to same DB (live db)
      • login api work fine on both(local and server).
      • all api work fine which not sent token only api that sent token not work.
      1 Reply Last reply Reply Quote 0
      • sanjay-webkul
        sanjay-webkul last edited by sanjay-webkul

        Hi there,
        You need to hit the API like this for get the accessToke

        http://www.myDomain.com/api/customer/login?token=true
        1 Reply Last reply Reply Quote 0
        • sanjay-webkul
          sanjay-webkul last edited by

          @prashant2408

          You can take a reference from Here for the bagisto web API

          1 Reply Last reply Reply Quote 0
          • First post
            Last post