JWTRefreshTokenBundle
JWTRefreshTokenBundle copied to clipboard
Implements a Refresh Token system over Json Web Tokens in Symfony
Fix deprecation notice: > Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute instead.
Hi, I would like to know if it's possible to refresh token by sending and checking two parameters. Right now, when I want to refresh I just send json like...
Hello, I ask for a JWT with a regular login by sending login&pwd by json. Then I receive a JWT(1) & Refresh Token(1). If I use the refresh Token(1) I...
Hello mates, I was wondering why refresh tokens are stored clear on the database. Refresh tokens should be considered as sensitive as passwords as they can lead to full accounts...
Thank you for the great bundle. Am using symfony 6.0 with php8. I have already installed LexikJWTBundle and it works wonderful. Am extending it to have a reflesh token. I...
My class: ```php use Doctrine\ORM\Mapping as ORM; use Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken as BaseRefreshToken; /** * @ORM\Entity * @ORM\Table("refresh_tokens", schema="auth") */ final class RefreshToken extends BaseRefreshToken { } ``` Outputs: ``` An exception...
Greetings, Whenever we programmatically generate a JWT token in lexik/JWT (using the method listed [here](https://github.com/lexik/LexikJWTAuthenticationBundle/blob/2.x/Resources/doc/7-manual-token-creation.rst#creating-jwt-tokens-programmatically)), no refresh token is generated. Is there a way to achieve this? is there a...
#!/bin/bash #Colors RED=$(echo -en '\001\033[00;31m\002') GREEN=$(echo -en '\001\033[00;32m\002') WHITE=$(echo -en '\001\033[01;37m\002') echo "${WHITE} _______ _ ______ ______ (_______) (_) (_____ \ _ / _____) _ ____ ___ _ _____ ____...
Since Symfony 5.4, I have an error with the bundle. ``` Attempted to load class "AbstractGuardAuthenticator" from namespace "Symfony\Component\Security\Guard". Did you forget a "use" statement for another namespace? ``` `class...
Greetings, I'm new to this library and I possibly have misunderstood the use of `ttl_update` option. What I am trying to achieve is the following: * I'm logging in at...