dbalbo
dbalbo
WWasp-lang
Created by dbalbo on 9/13/2024 in #🙋questions
websockets - emit event from server
Hi guys! I integrated websockets following the guide at https://wasp-lang.dev/docs/advanced/web-sockets. It's not clear to me how to do an emit in an operation (therefore on the server side). For example, at the end of writing a record to the DB, I would like to perform an emit. Thank you
16 replies
WWasp-lang
Created by dbalbo on 9/10/2024 in #🙋questions
Issue with Keycloak Logout Not Terminating Session in Wasp 0.14 on WSL
Hi everyone, I’m using Wasp version 0.14 on a WSL platform and have integrated social authentication with Keycloak. The login works fine, but I’m having trouble with the logout. When I click "logout" (from the OpenSaaS menu), the session on OpenSaaS is terminated (the local storage key is removed), but the session remains active on Keycloak. It seems that the logout action is not calling Keycloak's logout endpoint. Is there any configuration I might be missing? How do I ensure that Keycloak’s session is properly terminated upon logging out of OpenSaaS? Thanks!
10 replies