Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WAAD THE F**K

WAAD THE F**K

Introducing Windows Azure Active Directory

Presentation was hold in Nurnberg, Germany at the Developer Week 2014 (DWX14)

Robert Muehsig

June 17, 2014
Tweet

More Decks by Robert Muehsig

Other Decks in Programming

Transcript

  1. Authentication via SAML / WS-Fed • First „idea“ how to

    work in a connected world • WS-* Family • Claims • XML-based
  2. Introducing Windows Azure Active Directory • Single sign-on • Auth

    based on Webstandards (SAML 2.0, WS-Fed, OpenId) • „Graph API“ – REST API • Identity & Access Management • Active Directory Integration via „DirSync“ or ADFS • Used in Office 365
  3. Recap ✓ Sign in with Azure Users ✓ Read &

    Write Directory Data ✓ WAAD Secured WebApi&Client
  4. Recap OpenID Connect with Azure AD • Identity Layer on

    top of OAuth 2.0 • Web-Friendly • OWIN based
  5. Recap OpenID Connect with Azure AD • Sign-In Code =>

    AccountController.cs app.UseOpenIdConnectAuthentication( new OpenIdConnectAuthenticationOptions { Client_Id = clientId, Authority = authority, Post_Logout_Redirect_Uri = postLogoutRedirectUri });
  6. Recap Adding a Console Client • „Web API“ Service Manifest

    • Each „Client App“ needs an ID and Access Permissions • Another OWIN Middleware • ADAL – Active Directory Authentication Library
  7. Recap Adding a Console Client OWIN Magic app.UseWindowsAzureActiveDirectoryBearerAuthent ication( new

    WindowsAzureActiveDirectoryBearerAuthentication Options { Audience = "https://localhost:44301/", Tenant = tenant, AuthenticationType = "OAuth2Bearer", });
  8. Recap Adding a Console Client Web API Magic public class

    DemoController : ApiController { [HostAuthentication("OAuth2Bearer")] [Authorize] public string Get() { return ("Hello World @" + DateTime.UtcNow.ToShortTimeString() + " !"); } }
  9. FAST Release Cycle • Very fast development cycle – many

    „previews“ and more features coming.