Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular Dependency in JWT Auth Filter #10

Open
Hemanthr1 opened this issue Jul 19, 2024 · 0 comments
Open

Circular Dependency in JWT Auth Filter #10

Hemanthr1 opened this issue Jul 19, 2024 · 0 comments
Labels
backend bug Something isn't working

Comments

@Hemanthr1
Copy link
Member

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.
@Hemanthr1 Hemanthr1 added bug Something isn't working backend labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant