Skip to content

Spring Security Authorization Server is missing the Jackson Mixin for FactorGrantedAuthority #18771

Description

@k6leung

Describe the bug
JdbcOAuth2AuthorizationService fails to deserialize FactorGrantedAuthority because of missing Jackson mixin.

To Reproduce

  1. Setup Spring Security Authorization Server to use JDBC
  2. Setup Cloud Gatway with OAuth2 Client token relay
  3. Create an API
  4. Login
  5. Calls the API through cloud gateway

Expected behavior
One should be able to call the API successfully.

Sample

https://github.com/k6leung/MongoAuthServerTest

Reports that include a sample will take priority over reports that do not.
At times, we may require a sample, so it is good to try and include a sample up front.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions