Skip to content

Add documentation to use nested app authentication in a ASP.NET or Blazor add-in #5438

@Stroomtang

Description

@Stroomtang

I'm writing an Outlook add-in in Blazor (Server). In the add-in, I'd like to call the Microsoft Graph API using the logged in Office user, so obviously I want to use SSO to be transparent for the users.

There is already documentation for using SSO in a ASP.NET Office Add-in, however this still uses the getAccesToken-method (OBO flow) which isn't supported anymore on Outlook. So I suppose we'd need to use the newer nested app authentication (NAA) , but the only documentation and samples I can find for this are for node.js projects.
I'm not nearly a good enough programmer to figure this out for myself :).

So what would be fantastic for me personally is:

  • basically this documentation, but using NAA
  • a sample project for an ASP.NET/Blazor add-in that uses NAA to request something using the Graph APIs.

Thanks in advance!

Metadata

Metadata

Assignees

Labels

Area: OutlookFeedback on Outlook contentArea: authenticationFeedback on authentication contentNeeds: attention 👋Waiting on Microsoft to provide feedbackType: doc requestRequest for new documentation or updates/enhancements to existing documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions