© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
1 reply
L. Moe

Microsoft Authentication in an iframe

Hello guys,

I have migrated multiple apps to Azure and they're working great, however this one app is required to run inside of an iframe on another website. The issue is that Microsoft do not allow authentication inside of an iframe due to security concerns.

I could disable auth on the app due to it being available internally only, but I still need the users email address to get the required information to load within the app. The website that the iframe needs to be embedded on uses Microsoft Authentication itself before getting to this point.

Does anyone know of a way to somehow either pass the user's email into the iframed app or just get authentication to work another way? Thanks.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ JWT + Microsoft.AspNetCore.Authentication.JwtBearer
C#CC# / help
3y ago
Visual Studio 2022 Microsoft.Asal.TokenService.exe authentication issue
C#CC# / help
3mo ago
✅ first contribute in Microsoft docs
C#CC# / help
17mo ago
✅ Running in the microsoft cloud
C#CC# / help
3y ago