You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default_lifetime value set inside giftless.yml file is ignored and Giftless JWT tokens generated by auth.jwt.JWTAuthenticator._generate_token are using default values from giftless.config.py
I'm quite sure that the yml config is configured properly as the other values are read and used as expected.
Unfortunately I'm not able to create a test showcasing this bug behavior. I have tested that it doesn't work only locally with breakpoints at auth.jwt.JWTAuthenticator._generate_token and by investigating the request being sent to giftless in the browser (verifying jwt tokens expiration dates).
This was checked with latest tag 0.0.5 as well as latest master branch of the repo.
The text was updated successfully, but these errors were encountered:
tomeksabala
changed the title
default_lifetime config value is ignored in favour of default value from config.py
default_lifetime config value set in yml config is ignored in favour of default value from config.pyAug 3, 2021
The default_lifetime value set inside giftless.yml file is ignored and Giftless JWT tokens generated by
auth.jwt.JWTAuthenticator._generate_token
are using default values fromgiftless.config.py
I'm quite sure that the yml config is configured properly as the other values are read and used as expected.
Unfortunately I'm not able to create a test showcasing this bug behavior. I have tested that it doesn't work only locally with breakpoints at
auth.jwt.JWTAuthenticator._generate_token
and by investigating the request being sent to giftless in the browser (verifying jwt tokens expiration dates).This was checked with latest tag 0.0.5 as well as latest master branch of the repo.
The text was updated successfully, but these errors were encountered: