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

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

parent 964f5327
...@@ -326,7 +326,7 @@ public class GenesysClient { ...@@ -326,7 +326,7 @@ public class GenesysClient {
throw new OAuthAuthenticationException("Refresh token not valid, please re-authenticate"); throw new OAuthAuthenticationException("Refresh token not valid, please re-authenticate");
} }
} else { } else {
throw new OAuthAuthenticationException("No refresh token, please re-authenticate"); authenticate();
} }
} }
......
Supports Markdown
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