You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/authorizationcodeclient/OauthClientApplication.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@
6
6
7
7
/**
8
8
*
9
-
* Note: This app is configured to use the authorization service and the resource service located in module spring-5-security-oauth
9
+
* Note: This app is configured to use the authorization service and the resource service located in Baeldung/spring-security-oauth repo
10
10
*
11
-
* As we usually do with other well-known auth providers (github/facebook/...) we have to log-in using user credentials (bael-user/bael-password) and client configurations (bael-client-id/bael-secret) handled by the auth server
11
+
* As we usually do with other well-known auth providers (github/facebook/...) we have to log-in using user credentials (john/123) and client configurations handled by the auth server
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/authorizationcodeclient/web/ClientRestController.java
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/authorizationcodelogin/OauthClientLoginApplication.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,19 @@
6
6
7
7
/**
8
8
*
9
-
* Note: This app is configured to use the authorization service and the resource service located in module spring-5-security-oauth
9
+
* Note: This app is configured to use the authorization service and the resource service located in Baeldung/spring-security-oauth repo
10
10
*
11
-
* As we usually do with other well-known auth providers (github/facebook/...) we have to log-in using user credentials (bael-user/bael-password) and client configurations (bael-client-id/bael-secret) handled by the auth server
11
+
* As we usually do with other well-known auth providers (github/facebook/...) we have to log-in using user credentials (john/123) and client configurations handled by the auth server
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/authorizationcodelogin/web/ClientRestController.java
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/clientcredentials/ClientCredentialsOauthApplication.java
+1-3
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,7 @@
7
7
8
8
/**
9
9
*
10
-
* Note: This app is configured to use the authorization service and the resource service located in module spring-5-security-oauth
11
-
*
12
-
* As we usually do with other well-known auth providers (github/facebook/...) we have to log-in using credentials handled by the auth server (bael-user/bael-password)
10
+
* Note: This app is configured to use the authorization service and the resource service located in Baeldung/spring-security-oauth repo
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/clientcredentials/service/WebClientChonJob.java
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/manualrequest/ManualRequestApplication.java
+2-3
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,12 @@
6
6
7
7
/**
8
8
*
9
-
* Note: This app is configured to use the authorization service and the resource service located in module spring-5-security-oauth
10
-
*
11
-
* As we usually do with other well-known auth providers (github/facebook/...) we have to log-in using user credentials (bael-user/bael-password) and client configurations (bael-client-id/bael-secret) handled by the auth server
9
+
* Note: This app is configured to use the authorization service and the resource service located in Baeldung/spring-security-oauth repo
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/main/java/com/baeldung/webclient/manualrequest/web/ManualOauthRequestController.java
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/test/java/com/baeldung/webclient/clientcredentials/OAuth2ClientCredentialsLiveTest.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@
19
19
20
20
/**
21
21
*
22
-
* Note: this Live test requires the Authorization Service and the Resource service located in the spring-5-security-oauth module
22
+
* Note: this Live test requires the Authorization Service and the Resource service located in the Baeldung/spring-security-oauth repo
23
23
*
24
-
* @author ger
24
+
* @author rozagerardo
25
25
*
26
26
*/
27
27
@RunWith(SpringRunner.class)
@@ -46,7 +46,7 @@ public void givenFooWithNullId_whenProcessFoo_thenLogsWithDebugTrace() throws Ex
46
46
.stream()
47
47
.map(ILoggingEvent::getFormattedMessage)
48
48
.collect(Collectors.toList());
49
-
assertThat(allLoggedEntries).anyMatch(entry -> entry.contains("We retrieved the following resource using Client Credentials Grant Type: This is the resource!"));
49
+
assertThat(allLoggedEntries).anyMatch(entry -> entry.contains("We retrieved the following resource using Client Credentials Grant Type: {\"id\""));
Copy file name to clipboardExpand all lines: spring-5-reactive-oauth/src/test/java/com/baeldung/webclient/manualrequest/OAuth2ManualRequestLiveTest.java
Copy file name to clipboardExpand all lines: spring-5-security-oauth/src/main/java/com/baeldung/webclient/authorizationserver/AuthorizationServerApplication.java
Copy file name to clipboardExpand all lines: spring-5-security-oauth/src/main/java/com/baeldung/webclient/authorizationserver/configuration/WebSecurityConfig.java
Copy file name to clipboardExpand all lines: spring-5-security-oauth/src/main/java/com/baeldung/webclient/resourceserver/ResourceServerApplication.java
Copy file name to clipboardExpand all lines: spring-5-security-oauth/src/main/java/com/baeldung/webclient/resourceserver/configuration/AuthorizationConfigs.java
Copy file name to clipboardExpand all lines: spring-5-security-oauth/src/main/java/com/baeldung/webclient/resourceserver/web/ResourceRestController.java
0 commit comments