Mary Lang
Mary Lang
The issue resolved, I believe it was not related to the gem Thank you Mary On Thu, Feb 27, 2020 at 12:53 PM Bilawal Hameed wrote: > Hello! > >...
@szabomikierno thank you! that did it!
Global dependency with APIKeyHeader does not work ``` api_key_header = APIKeyHeader(name=API_KEY_NAME) async def get_api_key(api_key_header: str = Security(api_key_header)): if api_key_header != API_KEY: raise HTTPException( status_code=HTTP_403_FORBIDDEN, detail="Could not validate credentials" ) return...