Open
Description
This can sometimes set the auth provider by mistake.
if you:
als add-auth --provider-type=None # to disable
Then make sure that config/config.py
looks like:
SECURITY_ENABLED = os.getenv("SECURITY_ENABLED",False)
SECURITY_PROVIDER = os.getenv('SECURITY_PROVIDER', None) # type: ignore # type: str
if os.getenv('SECURITY_ENABLED'): # e.g. export SECURITY_ENABLED=true
security_export = os.getenv('SECURITY_ENABLED','false').lower() # type: ignore # type: str
SECURITY_ENABLED = security_export not in ["false", "no"] # NO SEC
app_logger.debug(f'Security .. overridden from env variable SECURITY_ENABLED: {SECURITY_ENABLED}')
Metadata
Metadata
Assignees
Labels
No labels