Bagisto Forum

    Bagisto

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

    API authentication error 401

    General Discussion
    2
    4
    187
    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.
    • K
      kavitha038 last edited by kavitha038

      Re: JWT Authentication API responded {"error":"Unauthenticated"}

      @devansh-webkul Im also facing same issue, im passing ?token=true to all APIs and executed all the below commands but still getting the same error, can you please let me know what i'm missing

      php artisan key:generate
      php artisan jwt:secret
      php artisan cache:clear
      php artisan config:clear

      1 Reply Last reply Reply Quote 0
      • A
        Amitk-Webkul last edited by

        Hi @kavitha038,

        Which version of Bagisto you are using?

        1 Reply Last reply Reply Quote 0
        • K
          kavitha038 last edited by kavitha038

          Hi @Amitk-Webkul, Im using 1.4.2 version

          1 Reply Last reply Reply Quote 0
          • A
            Amitk-Webkul last edited by

            Hi @kavitha038,

            Have you passed Bearer Token?

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