Matt
Explore posts from serversBABetter Auth
•Created by dan—1106 on 4/9/2025 in #help
User avatars/profile pics for Microsoft Entra social sign in
Nevermind this seems to work just had a user created prior to this and after clearing out the old one it works fine.
16 replies
BABetter Auth
•Created by dan—1106 on 4/9/2025 in #help
User avatars/profile pics for Microsoft Entra social sign in
Hey @dan—1106, did you ever get around the image issue with session data is too large? Trying something like this and still can't get the error to go away. Disabling cookie cache show the token at 107 characters so just wondering if you had any luck
16 replies
BABetter Auth
•Created by Nick/Roal on 1/10/2025 in #help
auth.api.listUsers returns UNAUTHORIZED but I am admin
I'd actually recommend adding react cache for now until that's default in the package
4 replies
BABetter Auth
•Created by Nick/Roal on 1/10/2025 in #help
auth.api.listUsers returns UNAUTHORIZED but I am admin
pass your headers
4 replies
BABetter Auth
•Created by David on 1/9/2025 in #help
Nuxt SSR useActiveOrganization
You might not have an activeOrganization set on your session.
Here's a way to set one using databaseHooks but you could do it with setActiveOrganization in some other fashion after login.
2 replies
BABetter Auth
•Created by David on 1/9/2025 in #help
Impossible to call the expression useListOrganizations
2 replies
TTCTheo's Typesafe Cult
•Created by Matt on 7/10/2024 in #questions
Guidance on Client Refresh after Server Action
Definitely, I'm going to refactor this one after thinking about it more with your comments. Extremely helpful again
17 replies
TTCTheo's Typesafe Cult
•Created by Matt on 7/10/2024 in #questions
Guidance on Client Refresh after Server Action
Thanks for the tip. Another state and simple use of transitions solved it. Completely overlooked the transition side of it to begin with…
17 replies
TTCTheo's Typesafe Cult
•Created by Matt on 7/10/2024 in #questions
Guidance on Client Refresh after Server Action
Ha ok cool cool I’ll give it a go thanks!
17 replies
TTCTheo's Typesafe Cult
•Created by Matt on 7/10/2024 in #questions
Guidance on Client Refresh after Server Action
Awful at satire over the internet here… is this the same as “just one more lane bro” ha…
17 replies
TTCTheo's Typesafe Cult
•Created by Matt on 7/10/2024 in #questions
Guidance on Client Refresh after Server Action
The main idea is to get the TenantUrl and Secret Token to show without the rerender and I meant to put sheet for what's shown in the video... the drawer only shows on mobile
17 replies
DTDrizzle Team
•Created by Matt on 3/27/2024 in #help
Upsert Multiple Rows with Conflicts postgres
Seems like raw SQL does the trick - I'll keep noodling at a cleaner way to build the sql but hey it works.
13 replies
DTDrizzle Team
•Created by Matt on 3/27/2024 in #help
Upsert Multiple Rows with Conflicts postgres
No rush at all but thanks
13 replies
DTDrizzle Team
•Created by Matt on 3/27/2024 in #help
Upsert Multiple Rows with Conflicts postgres
Obviously, a simple for loop works but was wondering if I could do it all in one. Maybe just missing something.
13 replies
DTDrizzle Team
•Created by Matt on 3/27/2024 in #help
Upsert Multiple Rows with Conflicts postgres
Yeah, the guide above goes over that but you'll still overwrite cells in a row if it matches a conflict. Like below the row for user 1 would just be an update of the value1 column but the guide would cause columns value2 and value3 to be zero'd out.
13 replies
DTDrizzle Team
•Created by Matt on 3/27/2024 in #help
Upsert Multiple Rows with Conflicts postgres
I'm thinking I'll just need to iterate over the users since this is still having similar issues of just overwriting rows, which makes sense. The userValues can look like this
where userId 1 is an update and userId 2 is a new user being inserted. When I run do it like the guide all the other values in userId1 are overwritten with nothing when it should really just be updating value1. Might not be possible without a for loop or something but figured I'd ask one more to see if you have thoughts.
13 replies
DTDrizzle Team
•Created by Matt on 3/27/2024 in #help
Upsert Multiple Rows with Conflicts postgres
Oh, nice! That's exactly what I'm looking for. Thank you!
13 replies