On Bubble JavaScript, I would like to get the authenticated user ID from front end - either via cookies or any other way. Is there any way to achieve this?
My larger goal was to get authentication credentials from cookies but it seems Bubble has kept it as HttpOnly for security reasons (which makes sense).
Any Bubble developers who work at Bubble out here? I am interested to learn as well. From our research, it seems like there is no way to get logged in userID from front-end JS.
Well, assuming you’re using a JS snipper in the front-end somewhere, you’d call:
"Do a Search for > User's (constraint: created by = current user) unique ID"