mikewilliams
BABetter Auth
•Created by Syntarex on 4/14/2025 in #help
On-User-Behalf flow (Microsoft Entra)
Kind of in the same boat here. Trying to figure out if there's a way to access tokens using the getUserInfo hook.
We're using a custom oauth and everything works fine with a userInfoUrl and mapProfileToUser, so we technically dont need the getUserInfo function. We're also using microsoft as well on another project so am interesting in the graph thing.
7 replies
PPrisma
•Created by mikewilliams on 5/13/2024 in #help-and-questions
Bypass accelerate for certain queries to avoid 5MB limit
@Nurul (Prisma) I actually have a follow up to this. It seems you all recommend using prisma generate --no-engine for accelerate clients.
If I'm generating the client, but then creating two clients (one for direct access) as seen above, would I not want to do this?
6 replies
PPrisma
•Created by mikewilliams on 5/13/2024 in #help-and-questions
Bypass accelerate for certain queries to avoid 5MB limit
Update for anyone else who finds this. Appears using two clients is indeed the solution:
https://www.prisma.io/docs/accelerate/troubleshoot#considerations-for-p6009-and-p6004-errors
6 replies