Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.

Documentation states wrong configuration prefix. #200

Closed
@wondee

Description

@wondee

Summary

The Documenation states that the prefix for activating the OAuth2ResourceServerConfiguration is spring.security.oauth.resource.*, but in the getMatchOutcome(..) method the prefix is set like this String prefix = "security.oauth2.resource.";.

Configuration

Added @EnableResourceServer and add configuration like:

spring: 
  security:
    oauth2:
      resource:
        jwt:
          key-value: somekey

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions