This fixes the authentication list in the authentication_document to ensure it is a list of dictionaries rather than a mixed list that contained lists and dictionaries.
Since BasicAuthenticationProvider is currently returning a list of authentication flow documents (one for Basic Auth and one for OAuth) AuthenticationForOPDSDocument.to_dict() will need to account for it and flatten the list it creates for authentication.
This fixes the
authentication
list in theauthentication_document
to ensure it is a list of dictionaries rather than a mixed list that contained lists and dictionaries.Since
BasicAuthenticationProvider
is currently returning a list of authentication flow documents (one for Basic Auth and one for OAuth)AuthenticationForOPDSDocument.to_dict()
will need to account for it and flatten the list it creates forauthentication
.