-
-
Couldn't load subscription status.
- Fork 124
Closed
Description
Hi, thanks for this helpful project!
If the client secret is not specified in the configuration, the line
email-oauth2-proxy/emailproxy.py
Line 301 in f892aa1
| example_client_status = [example_client_value in i for i in [client_id, client_secret]] |
produces the error
argument of type 'NoneType' is not iterable.
A simple fix would be
example_client_status = [example_client_value in i for i in [client_id, client_secret] if i is not None]
or just
example_client_status = [example_client_value in i for i in [client_id, client_secret] if i]
if empty strings can be ignored.
Metadata
Metadata
Assignees
Labels
No labels