Hey. I have check https://github.com/getAlby/alby-js-sdk. It’s very payment focus. I’m looking for auth related, where apps login with the keys stored on alby. Is it possible? Did I missed something?

Reply to this note

Please Login to reply.

Discussion

Do you mean using nostr keys for http auth? Something like NIP-98?

Yea it could be that. For signing events.

Could you give some more info about what you are trying to achieve? Maybe we can add some utility functions to the alby-tools package to simplify auth with nostr

On desktop, i use Alby to NIP 07 login and sign events. That’s wonderful.

On mobile devices, we are lacking that. Even more so for progressive web app, where if these apps are running on “PWA native app mode”, they do not have access to safari extensions like “nostore”. How to bring the experience of using Alby extension, into mobile?

Yes, this is definitely an urgent need. Not sure if there are any Apple APIs that would enable constant requests to another app (presumably running the wallet) to sign every action made in the app though.

Maybe push notifications could be used to sign without having to switch apps. Or you could have a self-hosted service sign on your behalf. I am not sure what is best/easiest for standard users though?

Ah, I think you are looking for NIP-46. Alby doesn’t have support for this yet, we’re looking into options for mobile signing

That will be awesome to make apps accessible on mobile.