shrigma maleS
Convex Community13mo ago
8 replies
shrigma male

Convex Auth + OAuth + Tauri

I'm hoping to integrate Convex into a desktop app I'm building with Tauri, so it has a frontend written in React but bundled with a rust foundation that manages the webview. I would love to also be able to use Convex Auth, it looks so simple and elegant, but I need to have OAuth support. The problem is that, it being a bundled desktop app and not a web app, it doesn't have an address so I can't redirect in-place and then provide a URL to navigate back to the app. I have a working OAuth flow that opens the auth URL in a new browser window and starts a small localhost server to handle the callback, but I don't know how to replicate this with convex auth. Is it possible to configure the OAuth flow like this, or do I need to look into a different auth integration?
Was this page helpful?