k4black / fastapi-jwt

FastAPI native extension, easy and simple JWT auth
https://k4black.github.io/fastapi-jwt/
MIT License
127 stars 19 forks source link

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

Open DrOncogene opened 1 year ago

DrOncogene commented 1 year ago

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.

AtesComp commented 5 months ago

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.

DrOncogene commented 5 months ago

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