Join the Webstudio community

Updated last week

Passing User Token/JWT to Backend When Calling Data Resource

At a glance

The community member is asking if there is a way to pass the user's token or JWT (JSON Web Token) when calling a "data" resource in a Supabase-powered page, so that the backend can identify the user. The community member suggests adding the token to the page URL as a possible solution, but is wondering if there is a cleaner way to achieve this.

In the comments, another community member responds that this feature is currently not available, but is on the Supabase roadmap. Another community member expresses appreciation for this feature and hopes it can be prioritized, as it would make Webstudio more powerful in many use cases.

Is there a way that if I have a page with supabase setup and the user is logged, can I pass the token / jwt while calling a "data" resource? I basically want the backend to be able to identify the user. I think I could simply add it to the page url and access it from there, but wondering if there is a cleaner way
B
S
4 comments
Not at the moment. We have this on roadmap.
Thank you @Bogdan .... this would make Webstudio very powerful in many use-cases. If this could be bumped up in priority .... would really be awesome
@Bogdan .. just curious ... when will this be worked upon?
Add a reply
Sign up and join the conversation on Discord