

def raise_http_invalid_argument_error(self, parameter, error):
    if (parameter in ['redirect_uri', 'client_id']):
        self.raise_http_400(error)
    else:
        self.raise_http_302(error)

dataset/ETHPy150Open globocom/oauth2u/oauth2u/server/handlers/defaults.py AuthorizationHandler.raise_http_invalid_argument_error/original