Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RejectAuth #6

Closed
wants to merge 1 commit into from
Closed

Add RejectAuth #6

wants to merge 1 commit into from

Conversation

staab
Copy link

@staab staab commented Feb 23, 2024

@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
Copy link
Owner

fiatjaf commented Feb 24, 2024

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
Copy link
Author

staab commented Feb 26, 2024

Yeah, this is a bad idea.

@staab staab closed this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants