Bagisto Forum

    Bagisto

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

    jwt token error

    Bug Report
    2
    2
    707
    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.
    • I
      ismail last edited by

      TypeError: Tymon\JWTAuth\Blacklist::__construct(): Argument #1 ($storage) must be of type Tymon\JWTAuth\Contracts\Providers\Storage, PHPOpenSourceSaver\JWTAuth\Providers\Storage\Illuminate given

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

        Hi there,
        The constructor is expecting an object that implements the

        Tymon\JWTAuth\Contracts\Providers\Storage
        

        interface, but the actual argument passed is an instance of

        PHPOpenSourceSaver\JWTAuth\Providers\Storage\Illuminate.
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post