I want to fix discord bot authentication. When I send a /chat request I get a 401 unauthorized error. I first created a new discord bot following the documentation about creating a discord bot. It then registered by my discord username on keycloak, when I first executed the /chat request.
Specifically the error occurs on CommonCommandUtility at line 105-107 where it is checked if a user exists otherwise a new user is created. In the getUsersByUsername method. Then in the override method: getUsersByUsername in the KeycloakAuthenticationService class at line 193.
The branch I am working on is #feature-203-Implement-create-did-for-agent
I want to fix discord bot authentication. When I send a /chat request I get a 401 unauthorized error. I first created a new discord bot following the documentation about creating a discord bot. It then registered by my discord username on keycloak, when I first executed the /chat request.
Specifically the error occurs on CommonCommandUtility at line 105-107 where it is checked if a user exists otherwise a new user is created. In the getUsersByUsername method. Then in the override method: getUsersByUsername in the KeycloakAuthenticationService class at line 193.
The branch I am working on is #feature-203-Implement-create-did-for-agent