Skip to content

Commit 5cc3b36

Browse files
burning-croissantBuzzardo
authored andcommitted
Fix the typo
1 parent 274b864 commit 5cc3b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom-error/README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ To spice things up a bit, you can extend the authentication rule to reject users
9595
You can use the GitHub API to find out more about the user, so you'll just need to plug that into the right part of the authentication process.
9696

9797
Fortunately, for such a simple use case, Spring Boot has provided an easy extension point:
98-
If you declare a `@Bean` of type `OAuth2UserService`, it will be used identify the user principal.
98+
If you declare a `@Bean` of type `OAuth2UserService`, it will be used to identify the user principal.
9999
You can use that hook to assert the the user is in the correct organization, and throw an exception if not:
100100

101101
.SocialApplication.java

0 commit comments

Comments
 (0)