Doesn't this blow up if the http request returns any other response code than 200 or 401 (such as 500, 503 or 400)?
Maybe the error should default to true with a generic error message and be set false if the authentication is successful and there are valid subscriptions, or something?
Doesn't this blow up if the http request returns any other response code than 200 or 401 (such as 500, 503 or 400)?
Maybe the error should default to true with a generic error message and be set false if the authentication is successful and there are valid subscriptions, or something?