greatbit/quack

Can't assign a user to a project

Opened this issue · 2 comments

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

@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

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