shrigma male
shrigma male
CCConvex Community
Created by shrigma male on 1/10/2025 in #general
Convex Auth + OAuth + Tauri
I just finished setting up my app with the modified version of the convex-auth library I mentioned above, so I blocked the automatic redirect and instead used tauri-plugin-opener to open the OAuth link in an external browser and tauri-plugin-oauth to catch the callback and then emit an event to the frontend, which finally calls the Convex auth signIn method a second time, and it works just like I'd hoped
9 replies
CCConvex Community
Created by shrigma male on 1/10/2025 in #general
Convex Auth + OAuth + Tauri
do you think that’d be reasonable? I’d be happy to make a PR
9 replies
CCConvex Community
Created by shrigma male on 1/10/2025 in #general
Convex Auth + OAuth + Tauri
But I think it would be trivial to add an optional parameter to the signIn method to put that behavior under manual control
9 replies
CCConvex Community
Created by shrigma male on 1/10/2025 in #general
Convex Auth + OAuth + Tauri
The React Native flow looks very much like what I’m looking for in a working Tauri flow. Unfortunately It seems like that flow hinges on the signIn method not performing the redirect if window.location is undefined, not under my control
9 replies