I’m trying to build a tauri nostr desktop app, but I think I need to do something like discord where they login via nostr on the web and get a callback url like tauri://auth?token=abc
or something but I have no idea how to do this.
I can handle the callback url i just don’t know what to pass or how to authenticate from a desktop app after given a token. The idea is the user will be authenticated in the desktop app and can do all nostr related tasks.
I’m using the NDK library for nostr ideally.