Skip to content

Commit 519c133

Browse files
committed
pr feedback
1 parent 527d97d commit 519c133

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/main/java/com/docusign/security/jwt/JWTOAuth2RestTemplate.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import org.springframework.security.oauth2.client.resource.UserRedirectRequiredException;
2020
import org.springframework.security.oauth2.common.DefaultOAuth2AccessToken;
2121
import org.springframework.security.oauth2.common.OAuth2AccessToken;
22-
import org.springframework.web.servlet.view.RedirectView;
22+
2323

2424
public class JWTOAuth2RestTemplate extends OAuth2RestTemplate {
2525

@@ -68,6 +68,7 @@ private OAuth2AccessToken accessToken() throws LauncherException {
6868
} catch (LauncherException e) {
6969
throw new AccessTokenRequiredException(e.getMessage(), resource);
7070
}
71+
7172
apiClient.setOAuthBasePath(resource.getBaseUrl());
7273
OAuthToken oAuthToken;
7374
try {
@@ -90,7 +91,7 @@ private OAuth2AccessToken accessToken() throws LauncherException {
9091
resource.getClientId(),
9192
"http://localhost:8080/login%26type%3Djwt");
9293
System.err.println("\nC O N S E N T R E Q U I R E D" +
93-
"\nAsk the user who will be impersonated to run the following url: " +
94+
"\nAsk the user who will be impersonated to run the following URL: " +
9495
"\n" + consent_url +
9596
"\n\nIt will ask the user to login and to approve access by your application." +
9697
"\nAlternatively, an Administrator can use Organization Administration to" +

‎src/main/webapp/WEB-INF/templates/views/error.jsp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<p><em>Error information: </em>${message}</p>
1818

19-
<p>Please check your account configuration. If you are unable to resolve the problem, file an issue on github.</p>
19+
<p>Please check your account configuration. If you are unable to resolve the problem, <a href="https://github.com/docusign/code-examples-java/issues/new" target="_blank" rel="nofollow noopener noreferrer">open a new issue on GitHub</a>.</p>
2020

2121

2222
<p><a href="/">Continue</a></p>

0 commit comments

Comments
 (0)