greatbit / quack

Web Based Test Management System
Apache License 2.0
116 stars 34 forks source link

Can't assign a user to a project #236

Open mpelley opened 1 year ago

mpelley commented 1 year ago

I am using version 1.21. I am logged in as "root" and created two users. I go to a project and click on the settings icon. The dropdown for "users" just displays "loading". The network trace shows a "400 - Bad Request" for both the GET http://localhost:8080/api/user/groups/suggest?limit=20 and GET http://localhost:8080/api/user/users/suggest?limit=20 requests.

azee commented 1 year ago

@mpelley Could you please specify - which auth provider you are using? What is set up in these 2 properties? https://github.com/greatbit/quack/blob/master/api/src/main/resources/quack.properties#L13-L14

mpelley commented 1 year ago

I am using the docker container that I downloaded from GitHub without any changes. So whatever authentication you set up in that is what is being used. Lines 13-14 of quack.properties are:

whoru.auth.provider=ru.greatbit.whoru.auth.providers.StubAuthProvider
whoru.session.provider=ru.greatbit.whoru.auth.providers.InmemSessionProvider