-
Notifications
You must be signed in to change notification settings - Fork 901
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
ERROR 403 ON AUTHENTICATION #12
Comments
Hi, I have the same problem. I have athentication but when try to acces to
the bd return 403 error.
El dom, 12 de feb. de 2023 15:12, TRO KOPE EMMANUEL JUNIOR <
***@***.***> escribió:
… I have a forbidden ressource error when I try to authenticate.
But registration work properly.
Need help plz.
—
Reply to this email directly, view it on GitHub
<#12>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AU4KTQNAMEFJG4UFNXE2IITWXERXDANCNFSM6AAAAAAUZPDKRM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I fix my problem. |
Hi, I have the same problem. 403 on authentication. |
Ok, figured it out. UserDetails overriden methods where setting the account indicators to false. |
Yes That's. |
even i also have same problem registerrequest is working fine but authentication is not working could anyone please help me out |
i have the same issue plz help me out where i need to make changes in the code |
bro whether your issue resolved? |
i have the same issue plz help me out where i need to make changes in the code |
I have an issue where everythinf is returning a 403 |
I got 403 problems too, but my problem's difference is 403 on "http://localhost:7001/api/v1/auth/register" but another controller link "http://localhost:7001/api/v1/places" succeed My Security Config @configuration
} My JWT Authfilter import jakarta.servlet.FilterChain; import lombok.NonNull; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.stereotype.Component; import java.io.IOException; @component
} ` |
if you are having this issue. dont forget the @NoArgsConstructor and @Allaargsconstructor of user model. my issue solved. or you may use try and catch in athenticate im auth service |
@jekoyjake, Thank you so much. Creating a no argument constructor in the user model solved my 403 error. |
I have a forbidden ressource error when I try to authenticate.
But registration work properly.
Need help plz.
The text was updated successfully, but these errors were encountered: