Skip to content

Error using AUTHENTICATION_WHITELIST to disable auth in OpenAPI schema #923

@niccolomineo

Description

@niccolomineo

Hi @tfranzel, as you suggested here, I tried to pass:

'AUTHENTICATION_WHITELIST': [None]

in SPECTACULAR_SETTINGS to suppress the security scheme, but I am getting:

AttributeError: 'NoneType' object has no attribute 'rsplit'

I am using drf 3.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfix confirmation pendingissue has been fixed and confirmation from issue reporter is pending

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions