-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Websubhub subscription auto-verification proposal discussion #1336
Comments
One Question, What if we have Shall we cover these in the proposal. |
The behavior would be like this [1]:
I have also updated the proposal. |
|
@MaryamZi please find my inline comments.
+1
Yes, as you mentioned, intent verification is designed to prevent malicious third parties from subscribing or unsubscribing a subscriber from the However, in practical implementations, subscribers (80% of the cases) are already authenticated and authorized via other security mechanisms (OAuth2 with scopes, API keys etc). In such cases the subscription intent verification will be an additional layer rather than a necessary one. This proposal aims to provide the flexibility for implementers to opt-out of (or override) the subscription intent verification flow in a WebSub Regarding terminology, we can refine well-known or authenticated to authenticated and authorized clients for greater clarity.
Here throwing an error does not mean panic. If you refer the To avoid any ambiguity, I will refine the wording in the Behavior section to provide more clarity on this aspect.
This feature does not violate the WebSub standard; rather, it serves as an extension that allows implementers to opt out of subscription intent verification based on their specific requirements. The key distinction here is that while an implementation might deviate from the standard, the library itself remains compliant. But, as per the practical usage of the library, the implementer should have the freedom to expand and define there own protocol on how they want to verify subscriptions. A notable example is GitHub webhooks, which function as a WebSub And introducing a separate module to deal with this particular usecase will be redundant effort as the only difference (or feature) we want to bring in here is how an implementer can skip subscription intent verification. And the ping payload based approach is again not websub standard compliant hence the implementation would not be fully websub compliant IMO. |
Please use this issue to discuss the Auto-verify subscriptions in Ballerina WebSubHub
The text was updated successfully, but these errors were encountered: