Commit 18a27cd7 authored by Matija Obreza's avatar Matija Obreza

Fix: Try to authenticate with client credentials when refreshtoken not available

parent 964f5327
Pipeline #9578 passed with stage
in 53 seconds
......@@ -326,7 +326,7 @@ public class GenesysClient {
throw new OAuthAuthenticationException("Refresh token not valid, please re-authenticate");
}
} else {
throw new OAuthAuthenticationException("No refresh token, please re-authenticate");
authenticate();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment