Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Java Client API
Commits
18a27cd7
Commit
18a27cd7
authored
Feb 24, 2019
by
Matija Obreza
Browse files
Fix: Try to authenticate with client credentials when refreshtoken not available
parent
964f5327
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/client/oauth/GenesysClient.java
View file @
18a27cd7
...
...
@@ -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
(
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment