There are already nostr-login, nostr-ignition and some other lib cooked by fiatjaf to simplify adoption for apps, should be pretty straightforward from now on.