sign in data:
{
data: {
session: {
access_token: 'REDACTED',
token_type: 'bearer',
expires_in: 86400,
refresh_token: 'REDACTED',
user: [Object],
expires_at: 1670435411
},
user: {
id: 'REDACTED',
aud: 'authenticated',
role: 'authenticated',
email: 'REDACTED@yahoo.com',
email_confirmed_at: '2022-12-06T03:30:19.466461Z',
phone: '',
confirmation_sent_at: '2022-12-06T03:29:58.480631Z',
confirmed_at: '2022-12-06T03:30:19.466461Z',
last_sign_in_at: '2022-12-06T17:50:11.113006993Z',
app_metadata: [Object],
user_metadata: {},
identities: [Array],
created_at: '2022-12-06T03:29:58.476374Z',
updated_at: '2022-12-06T17:50:11.114704Z'
}
},
error: null
}
sess data:
{ data: { session: null }, error: null }
insert response:
{
error: {
code: '42501',
details: null,
hint: null,
message: 'new row violates row-level security policy for table "txns_eth"'
},
data: null,
count: null,
status: 401,
statusText: 'Unauthorized'
}
Done.
sign in data:
{
data: {
session: {
access_token: 'REDACTED',
token_type: 'bearer',
expires_in: 86400,
refresh_token: 'REDACTED',
user: [Object],
expires_at: 1670435411
},
user: {
id: 'REDACTED',
aud: 'authenticated',
role: 'authenticated',
email: 'REDACTED@yahoo.com',
email_confirmed_at: '2022-12-06T03:30:19.466461Z',
phone: '',
confirmation_sent_at: '2022-12-06T03:29:58.480631Z',
confirmed_at: '2022-12-06T03:30:19.466461Z',
last_sign_in_at: '2022-12-06T17:50:11.113006993Z',
app_metadata: [Object],
user_metadata: {},
identities: [Array],
created_at: '2022-12-06T03:29:58.476374Z',
updated_at: '2022-12-06T17:50:11.114704Z'
}
},
error: null
}
sess data:
{ data: { session: null }, error: null }
insert response:
{
error: {
code: '42501',
details: null,
hint: null,
message: 'new row violates row-level security policy for table "txns_eth"'
},
data: null,
count: null,
status: 401,
statusText: 'Unauthorized'
}
Done.