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

403 forbidden error while Authentication #20

Closed
HARSHA95336 opened this issue Mar 26, 2023 · 5 comments · May be fixed by #27
Closed

403 forbidden error while Authentication #20

HARSHA95336 opened this issue Mar 26, 2023 · 5 comments · May be fixed by #27

Comments

@HARSHA95336
Copy link

No description provided.

@wilferraciolli
Copy link

Same here, cant figure out what the issue is

@Operez97
Copy link

I had the same issue, my error was that I had duplicates in my users table.

@k-limonich
Copy link

k-limonich commented Apr 12, 2023

I had the same issue. The reason might be hat in SecurityConfiguration method hasRole() expects role to have ROLE_ prefix, i.e. ROLE_ADMIN, ROLE_USER, etc. Changing method to hasAuthority() resolves the issue.

Checkout this answer about this issue: https://stackoverflow.com/a/48055535

@ayoubjamouhi
Copy link

Change create-drop in application.yml to update

@ali-bouali
Copy link
Owner

No further updates on this issue.
I will close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants