Skip to content

Circular Dependency in JWT Auth Filter #10

@Hemanthr1

Description

@Hemanthr1

Issue Description

A circular dependency error is occurring during application startup due to the autowiring of the UserService in the constructor of the JWT Auth filter. This prevents the application from starting correctly.

Expected Behavior

The JWT Auth filter should initialize and operate without encountering any circular dependency errors during application startup.

Actual Behavior

A circular dependency error occurs, preventing the application from starting. The error is likely related to the autowiring of UserService within the JWT Auth filter.

Additional Context

  • This issue happens consistently on application startup.
  • The circular dependency is likely caused by the JWT Auth filter depending on UserService, which might also depend on the security configuration that includes the JWT Auth filter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions