I have a issue while using rubrik plugin with token management.
The problem is located in request_api function where the token could be renewed when it expire but the cleanning/renew part is never called.
In request_api_paginate function, there is an "$self->{output}->option_exit()" called when authentication is not good and it bypass the second part of request_api function
" if (defined($self->{token}) && $self->{http}->get_code() < 200 || $self->{http}->get_code() >= 300) { ...."
To bypass the problem, I've just comment the "$self->{output}->option_exit()" and it works but it's not really clean.
Hi there,
I have a issue while using rubrik plugin with token management. The problem is located in request_api function where the token could be renewed when it expire but the cleanning/renew part is never called. In request_api_paginate function, there is an "$self->{output}->option_exit()" called when authentication is not good and it bypass the second part of request_api function " if (defined($self->{token}) && $self->{http}->get_code() < 200 || $self->{http}->get_code() >= 300) { ...."
To bypass the problem, I've just comment the "$self->{output}->option_exit()" and it works but it's not really clean.