Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web sign-in using OpenID Connect Office API access.

Similar presentations


Presentation on theme: "Web sign-in using OpenID Connect Office API access."— Presentation transcript:

1

2

3

4

5

6

7

8

9

10 Web sign-in using OpenID Connect Office API access

11

12

13

14

15 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(); }

16 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); } }); }

17

18

19

20

21

22

23

24

25

26

27 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:....

28

29

30

31 Apps that enhance your business Docusign for Outlook Paypal Invoicing Get signatures on documents Create and email 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 32

33 33

34

35

36

37 www.microsoft.com/learning http://developer.microsoft.com http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd

38

39

40


Download ppt "Web sign-in using OpenID Connect Office API access."

Similar presentations


Ads by Google