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

Webhook Authentication For WebRTC Play #6281

Merged
merged 10 commits into from May 17, 2024
Merged

Webhook Authentication For WebRTC Play #6281

merged 10 commits into from May 17, 2024

Conversation

lastpeony
Copy link
Contributor

@lastpeony lastpeony commented Apr 18, 2024

#6211

With this form this PR breaks backward compatability of webhook publish authentication because there is a new app setting webhookPublishAuthEnabled and webhookPlayAuthEnabled
previously webhook auth was only for publish and webhook publish was enabled if webhook auth url is not empty.

@mekya
Copy link
Contributor

mekya commented Apr 27, 2024

hi @lastpeony ,

Thank you for the implementation.

I read your comment and had a review of the PR. I'd like to discuss if there is an alternative way to make this implementation without breaking backward compatibility. Because the cost of breaking backward compatibility includes extra support and unhappy users, which may mean churn.

Then my question is: What's the alternative implementation to not break backward compatibility?

Copy link
Contributor

@mekya mekya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented on the PR directly to find out the way without breaking backward compatibility

@lastpeony
Copy link
Contributor Author

Hi @mekya Thank you for the review.
We can eliminate webhookPublishAuthEnabled and webhookPlayAuthEnabled, and instead utilize webhookAuthUrl exclusively for publishing purposes while introducing a new setting for webhookPlayAuthUrl. This adjustment might appear confusing in the app settings, but with your approval, I can implement it to maintain backward compatibility.

Copy link

sonarcloud bot commented May 15, 2024

@mekya
Copy link
Contributor

mekya commented May 17, 2024

Thank you @lastpeony

@mekya mekya merged commit 9d5f034 into master May 17, 2024
3 checks passed
@mekya mekya deleted the webhookPlayAuth branch May 17, 2024 05:50
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.

None yet

2 participants