Skip to content

Allow VAPID sub to be an HTTPS URL#57

Merged
SherClockHolmes merged 1 commit intoSherClockHolmes:masterfrom
emersion:subscriber-url
Jan 2, 2025
Merged

Allow VAPID sub to be an HTTPS URL#57
SherClockHolmes merged 1 commit intoSherClockHolmes:masterfrom
emersion:subscriber-url

Conversation

@emersion
Copy link
Contributor

The RFC says:

The "sub" claim SHOULD include a contact URI for the application
server as either a "mailto:" (email) [RFC6068] or an "https:"
[RFC2818] URI.

However the library assumes the passed in subscribed is always an e-mail address, without leaving a way to pass an HTTPS URL.

@emersion
Copy link
Contributor Author

Gentle ping, any chance to get this reviewed?

@emersion
Copy link
Contributor Author

emersion commented Dec 9, 2023

Did you have time to have a look at this, @SherClockHolmes?

@emersion
Copy link
Contributor Author

emersion commented Jul 8, 2024

Gentle ping

@emersion
Copy link
Contributor Author

emersion commented Oct 1, 2024

Hi @SherClockHolmes, any chance to get this reviewed?

@slingamn
Copy link

This is relevant to me as well :-)

@SherClockHolmes
Copy link
Owner

@emersion Could you modify this PR to align with the PR #46 ? Then I would be happy to merge.

The RFC says:

> The "sub" claim SHOULD include a contact URI for the application
> server as either a "mailto:" (email) [RFC6068] or an "https:"
> [RFC2818] URI.

However the library assumes the passed in subscribed is always an
e-mail address, without leaving a way to pass an HTTPS URL.
@emersion
Copy link
Contributor Author

emersion commented Jan 2, 2025

Done!

@SherClockHolmes SherClockHolmes merged commit 4c9dec9 into SherClockHolmes:master Jan 2, 2025
@emersion emersion deleted the subscriber-url branch January 2, 2025 22:44
@emersion
Copy link
Contributor Author

emersion commented Jan 2, 2025

Thank you!

emersion added a commit to emersion/soju that referenced this pull request Jan 2, 2025
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.

3 participants