Skip to content

Commit 79c6cf4

Browse files
committed
Polish gh-1186
1 parent 5f606ae commit 79c6cf4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/src/docs/asciidoc/examples/src/main/java/sample/gettingStarted/SecurityConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ public SecurityFilterChain authorizationServerSecurityFilterChain(HttpSecurity h
7171
new LoginUrlAuthenticationEntryPoint("/login"))
7272
)
7373
// Accept access tokens for User Info and/or Client Registration
74-
.oauth2ResourceServer((oauth2) -> oauth2.jwt(Customizer.withDefaults()));
74+
.oauth2ResourceServer((resourceServer) -> resourceServer
75+
.jwt(Customizer.withDefaults()));
7576
// @formatter:on
7677

7778
return http.build();

docs/src/docs/asciidoc/getting-started.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ TIP: Beyond the Getting Started experience, most users will want to customize th
7575

7676
If you want to customize the default configuration (regardless of whether you're using Spring Boot), you can define the minimum required components as a `@Bean` in a Spring `@Configuration`.
7777

78-
TIP: To skip the setup and run a working example, see the https://github.com/spring-projects/spring-authorization-server/tree/main/samples/default-authorizationserver[default authorization server sample].
79-
8078
These components can be defined as follows:
8179

8280
[[sample.gettingStarted]]

0 commit comments

Comments
 (0)