Tell me more ๐
Discussion
Basically, cookies and session auth works, but I donโt have other https://github.com/nostr-protocol/nips/blob/master/98.md yet, since php doesnโt have good supported libs (that I know of) for nostr, bech32 or anything. The ones I found are all outdated or broken. Trivial to add once I have something. GitHub already has a starter for nip98, but thatโs all ๐ถ๐พ๐ซก
Ohhh nostr:npub138s5hey76qrnm2pmv7p8nnffhfddsm8sqzm285dyc0wy4f8a6qkqtzx624 also told me to check NIP98.
nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w I have it implemented in Typescript, if you want take a look at the project. Authenticate users uploading multimedia with NIP98.
I refactored everything from php to typescript for the same reason ๐ฅฒ
I canโt go with typescript at this time, but later maybe. The implementation is not hard in itself, just need to take time to do it. Wish php had better support for bech32 ๐ถ๐พ๐ญ
Idea, I encountered that in some parts of the frontend, I have solved it by preparing endpoints in the backend (made in TS) to do what I can't do in PHP, for example validate that an event is consistent. If you want I'll show you some examples by DM ๐ถ๐
Thanks! I might reach out after I am done with the bulk of work that is scheduled now! ๐ถ๐พ๐ซ๐