OfficeDev / Office-Add-in-samples

Code samples for Office Add-in development on the Microsoft 365 platform.
MIT License
702 stars 777 forks source link

Request for Office Addin Sample for Blazor with SSO integration #672

Open bkotar1 opened 7 months ago

bkotar1 commented 7 months ago

I am unable to find a proper sample for SSO for blazor Office Addin and it will be helpful if someone could create a sample with SSO integration with Azure AD.

aafvstam commented 7 months ago

That is true as the Blazor Office Add-in is fairly new (I came up with the concept and the Blazor Samples in here). I can try to spend some time to see if I can get that to work. I have no clue if it is supported but can ask around if it is feasible.

davidchesnut commented 7 months ago

Hi @bkotar1, thank you for this suggestion. I tagged this as a doc request (sampler request) for now. SSO should work with Blazor, but as @aafvstam points out we don't have a sample showing both at this time.

Thanks! David

bkotar1 commented 7 months ago

Thanks @aafvstam and @davidchesnut. @davidchesnut Yes, I see we can use the outlook addin sso sample and integrate into blazor using msal js libraries. Just want to see if we have any other options in integrating it. As always samples will help in quickly starting the project without worrying much in integrating the msal js libraries.

PaulYork-GitHub commented 5 months ago

Hi,

I'd also love to see a working example of this. I've been trying various examples but feel like I'm missing something so anything that proceeds a clear working example would be great. Thanks, Paul.

ystvan commented 4 months ago

I second this, seeing rudimentary sample of SSO & Graph Client in a .NET 8 Blazor WASM and hosted WASM would be great and much appreciated!