Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.

Add RejectAuth#6

Closed
staab wants to merge 1 commit into
fiatjaf:masterfrom
coracle-social:master
Closed

Add RejectAuth#6
staab wants to merge 1 commit into
fiatjaf:masterfrom
coracle-social:master

Conversation

@staab

@staab staab commented Feb 23, 2024

Copy link
Copy Markdown

@fiatjaf I don't think you'll like this, because it makes auth vulnerable for existing projects. But see nostr-protocol/nips#1079 for why I did it. I think this structure is better anyway, since it matches rejectx, but it does require the developer to validate the auth challenge.

@fiatjaf

fiatjaf commented Feb 24, 2024

Copy link
Copy Markdown
Owner

Maybe I am missing something, but I've commented there.

To me it makes more sense to use what I suggested there together with RejectEvent/OnEphemeralEvent here.

@staab

staab commented Feb 26, 2024

Copy link
Copy Markdown
Author

Yeah, this is a bad idea.

@staab staab closed this Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants