Custom authorization server made in Java for chats build with Chatkit. The server bootstrap an embedded LDAP server where the user information is stored. Follow the tutorial here.
sn
of the users registered in the file src/main/resources/schema.ldif
, (eh
and eh2
by default) and one chat room.src/main/java/com/example/authserver/AuthenticationController.java
.mvnw spring-boot:run
to run the server or in an IDE, execute the main class of the application (com.example.authserver.AuthserverApplication.java
).URL: http://localhost:8080/authenticate?user_id=eh&passw=12345 (specify your own user credentials if you changed them)
HTPP method: POST
Or test the server using the sample chat from https://github.com/eh3rrera/chatkit-custom-auth-test-chat.
MIT