We have a (LMS) Learning Management System and OneDrive - both use Okta as an IdP for access control. We want to use powerpoint/word/excel etc within iframe in LMS.
When the Share link setting is "Anyone with the link can view", we can use "copy link" and view the link in LMS system within iframe.
Now, when the Share link setting is "People within the org can view", copied link and the method above does not work. We get xxxxxxxx-my.sharepoint.com refused to connect.
Without using the iframe - the link access works. We want the iframe view to work within the learning management system (web-browser based).
Is there any way to achieve this? Ideally, as both LMS and OneDrive are accessed via idP, link sharing within the org should work. Without iframe, is there any other way to determine the state of the link and provide "Open in new window" option so that at least the link can be opened?