I work at a university where we're using SharePoint forms for much of our workflow for students and faculty. A large problem arises when the user's browser automatically logs them in to SharePoint for the embedded form based on who is logged into the computer. Students end up submitting forms while logged in as a different user, so we need a way to easily switch the user from within the embedded form's webpage.
- We cannot disable the automatic authentication from Internet Options as that is used thoroughly in many other capacities on campus.
- I have tried using a hyperlink to the _layouts page [sharepointserver]/_layouts/closeConnection.aspx?loginasanotheruser=true&source=[externalpage], but it appears SharePoint does not like redirecting to external, non-SharePoint pages. The external page is the same URL as the page with the embedded SP form.
- The form is embedded through our CMS via an iframe. CMS has many restrictions and does not allow things like javascript.
Do you have any creative solutions to enable switching users (or prompting for login) from within an embedded form? Thanks for your time!