Web sign-in using OpenID Connect Office API access
Anonymous + authenticated or authenticated-only experience App launcher initiates sign-in to Redirect URI Use NaiveSessionCache in prototypes but not for production Use [Authorize] attribute for authenticated routes YourController.cs [Authorize] public ActionResult YourRoute() {... return View(); }
public void ConfigureAuth(IAppBuilder app) { app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType); app.UseCookieAuthentication(new CookieAuthenticationOptions()); app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions { Client_Id = clientId, Authority = authority, Notifications = new OpenIdConnectAuthenticationNotifications() { RedirectToIdentityProvider = (context) => { string appBaseUrl = context.Request.Scheme + "://" + context.Request.Host + context.Request.PathBase; context.ProtocolMessage.RedirectUri = appBaseUrl + "/(your signed in route)"; context.ProtocolMessage.PostLogoutRedirectUri = appBaseUrl; return Task.FromResult(0); } }); }
Tenant admins must be logged into Office 365 to use these APIs. HEADER Content-Type: application/json Authorization:.... BODY { 'id': “[clientId]", 'manifest': "{ 'extensionPoints': [{ … }] }" } HEADER Content-Type: application/json Authorization:.... BODY { 'manifest': "{ 'extensionPoints': [{ … }] }" } HEADER Content-Type: application/json Authorization:.... HEADER Content-Type: application/json Authorization:....
Apps that enhance your business Docusign for Outlook Paypal Invoicing Get signatures on documents Create and professional invoices in seconds in minutes Sensei Task Analyser for Project Nimble for Outlook Identify and eliminate issues Insights and organisation for your before they appear business relationships CATEGORY All Communication CRM Data Analytics Editor’s Picks Education Productivity Project Management Reference Sales & Marketing Search PRODUCT All Excel Outlook Office 365 PowerPoint Project SharePoint Word MANAGE CUSTOMER RELATIONSHIPS EDITOR’S PICKS Integrated within the 365 app launcher Growing to include more types of apps Unified app acquisition and management, tailored for organisations Highlighting the best apps for business
32
33