`
I also tried just pasting the refresh code in and that also doesn't work. When I run the code above I get this error:
{"userId":1,"exception":"[object] (Tustin\Haste\Exception\ApiException(code: 0): at {myuserroute}/backend/vendor/tustin/haste/src/Http/Middleware/ResponseHandlerMiddleware.php:58)
How do I fix this? Or what am I doing wrong?
Thanks
PS. When using the exact same code but with the loginwithnpssotoken function it does work.
I am getting my refresh token with this code for now: `
`
Then I save that refresh token in my DB and I try to login with this code: `
` I also tried just pasting the refresh code in and that also doesn't work. When I run the code above I get this error: {"userId":1,"exception":"[object] (Tustin\Haste\Exception\ApiException(code: 0): at {myuserroute}/backend/vendor/tustin/haste/src/Http/Middleware/ResponseHandlerMiddleware.php:58)
How do I fix this? Or what am I doing wrong? Thanks PS. When using the exact same code but with the loginwithnpssotoken function it does work.