-
Hello guys. I need help for this. I wrote this codes in Handler.php that is not working :
public function render($request, Exception $exception)
{
console.log('Log here');
$exceptionClass…
-
I'd like to have the possibility to have different clients use different secrets - how would I test against multiple secrets on the server side?
Thanks!
-
I am using laravel 4.2 and JWT 0.4.3
Access token generating properly.
invalid token works fine
Issue
When i try to generate refresh token using expired token then it always return Token has …
-
### Subject of the issue
I get an access token, but i need more a refresh_token .
My solution:
$token = JWTAuth::fromUser($auth);
$refresh_token = JWTAuth::customClaims(['exp' => Carbon::now()->…
-
I am using the following method to refresh JWT token. Testing it from Postman returns "Token has been blacklisted" message. Any suggestion why this is happening.
Thanks
`
public functio…
-
### Subject of the issue
Hi,
As the title said, logout and invalidate does not work. The blacklisting is on but JWT does not record any token as blacklisted at all.
### Your environment
| Q …
khooz updated
4 months ago
-
So I have removed all laravel 5.5 oringinal auth stuff so my Auth\LoginController now looks like this:
```
-
I tried to follow the unfinished docs for 1.0.*
When I try to login I always get this error:
Type error: Argument 1 passed to Tymon\JWTAuth\JWTGuard::login() must be an instance of Tymon\JWTAuth…
-
I'm using the Dingo API package with this JWT package.
Here's my straight forward code from the controller:
```php
// getting the current token
$oldToken = $request->bearerToken();
…
-
Tried this on SSL but return wrong number of segments. Any clue?
my middleware:
```
public function handle($request, Closure $next)
{
try {
// $token = JWTAuth::…