[Issue] Authentication scheme for scope not saved #175
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
KittenSquad/glewlwyd#175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the issue
I'm testing glewlwyd as a light weight alternative for keycloak, but i came across an issue. I use the docker container with the default configuration (
docker run --rm -it -p 4593:4593 babelouest/glewlwyd). I created a TOTP scheme and a new scope named test. I added the TOTP scheme as required to the scope but it seems like it isn't persisted.To Reproduce
Expected behavior
To save the schemes.
Screenshots




System (please complete the following information):
Hello,
I tried your steps but I can't reproduce your problem, my scope test is saved and if I reload the page and reopen the scope, I can see the otp scheme.
Do you see any message in the logs that might be helpful?
Here is exactly what I made:
I started the container using
docker run --rm -it -p 4593:4593 -e GLWD_LOG_LEVEL=debug babelouest/glewlwyd:2.5.2.This is the complete log output: https://cloud.systest.eu/s/ofeHNRK696r22Cs
And this is the recording of what I was exactly doing: https://cloud.systest.eu/s/M3X4GGYzpGAbq83
I think I've found the cause of the bug: it happens when I don't have a display name set for the scheme. I thought it is an optional field. If it is required it shouldn't let the user submit the form without it.
OK I see the problem now, indeed it's when the scheme has no display name. The bug has been fixed in this commit:
github.com/babelouest/glewlwyd@b34690abbfThanks for reporting the bug @gergof !