Sorry, i am mixing my html codes.
That being said, the client-side flow for authentication and payment are similar. Server responds with a auth request or a payment request, the app receives, makes the Nostr event (or pay the ln invoice) and sends it back "automatically" (in case of the invoice, with confirmation from the user).
I just don't want two client flows using separate communication standards for these features.