This repository was archived by the owner on May 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Documentation states wrong configuration prefix. #200
Comments
Thanks for the report, @wondee! Would you be interested in submitting a PR? |
Sure, what shall be fixed? Documentation or Placeholder Prefix? |
Good question, @wondee. Let's make sure the documentation matches what the code already does. |
wondee
pushed a commit
to wondee/spring-security-oauth2-boot
that referenced
this issue
Dec 20, 2019
jzheaux
pushed a commit
that referenced
this issue
Jan 27, 2020
Fixed via bbaf069 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
The Documenation states that the prefix for activating the
OAuth2ResourceServerConfiguration
isspring.security.oauth.resource.*
, but in thegetMatchOutcome(..)
method the prefix is set like thisString prefix = "security.oauth2.resource.";
.Configuration
Added
@EnableResourceServer
and add configuration like:Sample
See: https://docs.spring.io/spring-security-oauth2-boot/docs/current/reference/html/boot-features-security-oauth2-resource-server.html#oauth2-boot-resource-server-jwt-single-key
The text was updated successfully, but these errors were encountered: