fastapi-jwt-auth
fastapi-jwt-auth copied to clipboard
No Swagger UI Operations Permitted
I am not finding any way for accessing authorization header through fastapi_jwt_auth library, like we have the Swagger UI Authorization available for OAuth2PasswordBearer in which we can give tokenUrl and Swagger automatically adds Authorization header in successive requests
try removing domain, while setting up cookie. It worked for me.
response.set_cookie( key=COOKIE_AUTHORIZATION_NAME, value=f"Bearer {access_token}", # domain=COOKIE_DOMAIN, httponly=True, max_age=60, # 3 hours expires=60, #samesite="none", secure=True # 3 hours # samesite="Lax", secure=False )