fastapi-jwt icon indicating copy to clipboard operation
fastapi-jwt copied to clipboard

What is the Authorization cookie name (or key) when using JwtAccessCookie for security? How to customize it?

Open DrOncogene opened this issue 1 year ago • 2 comments

I have looked at the docs and there is nothing about settings that can be used to change some of these parameters. In this case, the jwt cookie key.

DrOncogene avatar Nov 04 '23 12:11 DrOncogene

Last I checked, the cookie keys are hard-coded as "access_token_cookie" and "refresh_token_cookie". I'd also like to see these as configurable keys.

AtesComp avatar May 16 '24 15:05 AtesComp

This is actually ridiculous. Still ran into the same issue again. It should be an easy fix to make the keys configurable. I guess I will just create a PR for this

DrOncogene avatar May 30 '24 20:05 DrOncogene