Oh great your project is LN ready! You mean client-relay auth or "web login" for external resources? In the first case this could help: https://github.com/nostr-protocol/nips/blob/master/42.md For the latter I saw something around but cannot find the URL now. Probably ask the user to input the npub and sign a random message is all you need to authenticate him.