Replies: 2 comments 3 replies
-
Interesting, seems that the value is not parsed when using fractional values, I reported the issue to the libjwt author, see benmcollins/libjwt#188 In the mean time, you have to use integers for the exp value. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi, I just commited changes to handle exp with a fractional value, it should works for you now (v.3.4.0) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I've tried both - by Dockerfile build, and from image; in both ways, it seems that exp value is not checked.
If token not set - 401 on nginx is set, but when is set, token goes to application no metter expiration date is wrong or not.
My configuration is:
location ~ ^/index\.php/api/test(/|$) {
auth_jwt_key /var/www/symfony_docker/var/keys/public.key file;
auth_jwt_alg RS256;
auth_jwt on;
[...]
}
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJ0ZXN0Y2xpZW50IiwianRpIjoiM2M2NzdlYzk3NzYxNzZjYjI5MWE1NmY2ZjBlMTAxNDg3NWU1NzdhYzA2NGQwY2UwNDVhMmIxYmMyNzAxZjkyNTRmOGQ2NmMyODk1ZmZjYzIiLCJpYXQiOjE2OTg3NDIxODUuMzY3ODc1LCJuYmYiOjE2OTg3NDIxODUuMzY3ODg2LCJleHAiOjE2OTg3NDIyNDUuMzM2NDIxLCJzdWIiOiIwZmYzNDYyOC03MzYyLTExZWUtYTRkYS1jMTBiZDMxZTllNzciLCJzY29wZXMiOlsiYmxvZ19yZWFkIiwicHJvZmlsZSIsImVtYWlsIl0sImtpZCI6IjEiLCJjdXN0b20iOnsiZm9vIjoiYmFyIn19.fI0PgVF8fxm9OAV-lvB8RHb1DvnNz7RYotd4yp6M-8eZ77ftZqOpvZ1-UobRrf8CJUVZgejtP2jbdsyC6_7D4e1cf9ry9qxyu76NOPsZ51fhHmoa4IGV6e1EKuZQB9pOrpc_Rmu2UAq1mv4RRhiTc3wMFP3SkJ4FpHkILWeFt_K8HfQazML4TiMJ5S9wuzcUO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