Basic query works in V1 but not in V2
I am trying to migrate to V2 and I realized the queries were not working at all with V2, so I set up this two test functions:
V1:
V2:
And indeed, the V1 version works as expected, but the V2 one does not return the correct data, it's
I've taken a look at the logs in the app page and there's this key difference in there:
V1:
V2:
It seems like the client isn't authenticated with V2, so RLS is doing its job. Is there something I'm missing regarding
V1:
V2:
And indeed, the V1 version works as expected, but the V2 one does not return the correct data, it's
undefinedI've taken a look at the logs in the app page and there's this key difference in there:
V1:
V2:
It seems like the client isn't authenticated with V2, so RLS is doing its job. Is there something I'm missing regarding
signInWithPassword? The way it is talked about in the release notes sounds like it should be a swap in replacement and a quick look at the source seems to confirm that it does basically the same thing as v1's signIn . Would greatly appreciate any pointers