Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need cross-platform Outlook SSO sample #214

Open
davidchesnut opened this issue Oct 7, 2021 · 5 comments
Open

Need cross-platform Outlook SSO sample #214

davidchesnut opened this issue Oct 7, 2021 · 5 comments

Comments

@davidchesnut
Copy link
Member

The https://github.com/OfficeDev/PnP-OfficeAddins/tree/main/Samples/auth/Outlook-Add-in-SSO sample requires ASP.NET and cannot run on Mac. Create an Outlook SSO sample that uses Node.js to support cross platform development work.

Created based on customer suggestion: OfficeDev/office-js-docs-pr#2955

@vault79
Copy link

vault79 commented Dec 31, 2021

Sorry for late reply in the original issue, and thank you for handling it.

I want to add one comment. I wanted to mean it's better for Mac developers to provide .NET Core based sample code instead of .NET Framework app.
If we have that sample, we can utilize learn how to implement it with newer .NET code.

@davidchesnut
Copy link
Member Author

Thanks @vault79 for that detail! Would you be developing the SSO add-in on Visual Studio for Mac and testing in that environment? Thanks!

@vault79
Copy link

vault79 commented Jan 4, 2022

Thank you for your quick comment @davidchesnut , but let me double check what you mean.

With this project file, I realize that I need following technologies at least.

  • .NET Framework 4.8
  • IIS as web server

In my understanding, these 2 technologies can run only on Windows. Therefore Microsoft released .NET Core as cross platform runtime for every developers. Do you mean I can run this .NET 4.8 based sample app if I install Visual Studio for Mac even if these 2 required technologies only supports Windows ? - Sorry for my few knowlege about pure Windows technologies.. so I'm happy if you help me to understand it.

@priya-cloud
Copy link

@davidchesnut : Do you have an example for Outlook add-in smillar to Office-Add-in-NodeJS-SSO project? Office-Add-in-NodeJS-SSO only supports word, excel and PPT. I am looking for similar app for outlook. Any. reference will be appreciated.
Thank you in advance.

@davidchesnut
Copy link
Member Author

Hi @priya-cloud, Our current plan is to point folks to the Microsoft identity platform code samples. These samples are great and cover a lot of different platform scenarios. The key is that you need to modify them to use the Office dialog API which you can find lots of info on here: Authenticate and authorize with the Office dialog API. Down the road we're working to provide a template that you could take and apply to these existing samples to modify them to work with Outlook add-ins or Office add-ins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants