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

It is not possible to login or register with internal auth #365

Closed
LaChope opened this issue Jun 5, 2024 · 3 comments · Fixed by #546
Closed

It is not possible to login or register with internal auth #365

LaChope opened this issue Jun 5, 2024 · 3 comments · Fixed by #546
Assignees

Comments

@LaChope
Copy link
Collaborator

LaChope commented Jun 5, 2024

When using internal auth (both development and production modes), I cannot login or register a new user. When I try to register a new user, I get denied. The API call is /auth/register.
@blcham @Kasmadei Can you check if this also happens to you?
@kostobog could it be because the backend needs a logged user even for public pages?

This issue is a blocker for #343.

Backend logs:

Image

Image

@LaChope LaChope self-assigned this Jun 5, 2024
@blcham
Copy link
Contributor

blcham commented Jun 5, 2024

@LaChope It behaves the same for me, I investigated server log file, and this is the error:

Image

@blcham
Copy link
Contributor

blcham commented Jun 5, 2024

@kostobog A similar issue happened so many times that we should at least talk about how to test JUnit tests (maybe would be hard to implement, but let's brainstorm about that)

@kostobog
Copy link
Collaborator

kostobog commented Aug 9, 2024

@blcham
This issue occurs due to a bad login and registration request.
The client sends jsonld with the wrong uri mapped to the username property in the context.

This inconsistency occurred when adjusting fta-fmea to be compatible with keyckloak docker distribution.

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.

3 participants