Where to find plasmic-auth-data

What are you trying to do? (please be as specific as possible and include relevant screenshots, code snippets, and reproduction steps)

I have a question about integrating Supabase Auth with Plasmic using the Headless Api. Where I can find plasmic-auth-data as found here?

Thanks in advance!

Relevant links:

AFAIK, you don’t need anything else apart from that definition. I assume it was defined that way in case that string changed, since it is used in many components.

@daniel_grau I’m grateful for your response and test it as is to see if it works. Thank you again!

PLASMIC_AUTH_DATA_KEY is a local variable used in the examples, it’s not actually something that relates to a configuration in Plasmic studio. In the example, it’s only being used as a key to the cache, so that the user object doesn’t need to be consistently fetched from Plasmic servers.

4 Likes