Hi! I need a feature thats in the master branch b...
# talk-hydra
p
Hi! I need a feature thats in the master branch but i can't find an image for it (refresh_token_hook), do you guys know when next release would be (1.10.7)? I would be satisified the image:latest is avaiable so i can continue developing.
👀 1
l
You can as well just build the image yourself, but would be cool to have a release from @high-optician-2097 🙂
p
yeah i guess, just lazy and thought maybe if its soon
l
Let me know if you have any issues with refresh token hook, I actually built that feature and my team runs it in production for some time already. We build Hydra ourselves.
p
oh thats great to hear, i actually do have a question about triggering the refresh
am i supposed to invalidate the jwt?
l
you cannot invalidate jwt token
thats why you keep it short-lived
p
i see, so no manual refresh
?
sounds easier i guess
l
when you refresh you get new access, refresh and id tokens, previous refresh token (opaque) is invalidated, access token (jwt) is not
hook just populates claims of new access and id tokens on refresh, it can also optionally deny the refresh if you return
401
p
i see so if i use the refresh token i can trigger the hook? was looking to triggering the refresh manually so the new claims are added
l
exactly
p
Alright, il give it a shot
👍 1
Thanks alot!
l
make sure to respect the scopes
👍 1
👀 1