Right now, onauth callback only knows two states - 'creating' (signup) or login. But there is a third state where auth_url is sent in response to other method calls. Right now those are treated as login and I see a "Login now" button in window.nostr.js, instead of a "Confirm action" button. That's probably confusing for users.
Right now, onauth callback only knows two states - 'creating' (signup) or login. But there is a third state where auth_url is sent in response to other method calls. Right now those are treated as login and I see a "Login now" button in window.nostr.js, instead of a "Confirm action" button. That's probably confusing for users.