Bagisto Signout API not working properly

  • ![alt text](a37d1d10-e700-4e8d-b7cd-626d0918c873-image.png image url)

    I am using the above API to sign out customer but what I am getting in response is


    This is my Headers

    Host: meridiana.local
    Connection: keep-alive
    Accept: application/json
    Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbWVyaWRpYW5hLmxvY2FsL2FwaS9jdXN0b21lci9sb2dpbiIsImlhdCI6MTY0NjgzNwiZXhwIjoxNjQ2ODQwNjYxLCJuYmYiOjE2NDY4MzcwNjEsImp0aSI6Ik9mQ1d5YmZJUHVub3hnQWwiLCJzdWIiOiIxIiwicHJ2IjoiOGZjYTA4OGFiYWUyZjlhOGY4NGE1ZjBiZjZhNjUyNDQ5MDU1YmUwMCJ9.65Z8aJljocPgN81TXs3_aBlBu3bOSkUASIvEC-eVpxI
    contentType: application/json
    Origin: http://localhost:3000
    Referer: http://localhost:3000/

  • Hi @nomeha
    The person is already logged out. so you are getting Unauthenticated response

  • But I was logged in when I was logging out, Nevermind

    php artisan optimize

    does the trick for me. Although, Thanks for your replay

Log in to reply