Forum Discussion
SharePoint 2019 - Embed w/ Anonymous access causes authentication popups.
Hello, everyone.
I would like a solution I have to a problem regarding the OOB Embed webpart for SP 2019 Modern Site Pages. Currently, when you have anonymous access turned on, and you go to a page with an embedded video, it will try and get the user to authenticate in order to perform a POST request to _api/SP.Publishing.EmbedService/DataEmbed. The video still loads up as normal, but the authentication prompt is intrusive to the User Experience.
Any advise would be helpful.
Thanks,
AS
Just as a follow-up to anyone reading that has run into the same issue, I have given up on waiting for a solution. I have recreated the Embed webpart using SPFx. Once I applied my webpart and used it on my Modern pages, it no longer gives me an authentication prompt because it's no longer making a POST request to the service.
Until a proper solution is released or mentioned, I will continue to use my webpart.
6 Replies
- Where is the video source?
- AS911Copper Contributor
ChrisWebbTech The source is a standard YouTube link that is publicly accessible.
EDIT: I put https://www.youtube.com/watch?v=xxxxxxxxxxx in the "Website address or embed code" field.
- AS911Copper Contributor
Just as a follow-up to anyone reading that has run into the same issue, I have given up on waiting for a solution. I have recreated the Embed webpart using SPFx. Once I applied my webpart and used it on my Modern pages, it no longer gives me an authentication prompt because it's no longer making a POST request to the service.
Until a proper solution is released or mentioned, I will continue to use my webpart.