and SPA web apps External Api: No external api’s 2. Applications using an Active Directory Users: Directory Application: Server side and SPA web apps, native apps External Api: Yes 3. Applications using a OIDP acting as a Federation Gateway Users: Local and directory Applications: Server side and SPA web apps, native apps External Api: Yes https://github.com/hbiarge/authentication-samples
passwords • Deeply integrated with cookies • Support MFA • TOTP: https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm • Support for external indentity providers • Officially supported: Facebook, Google, Twitter, Microsoft Account, Oauth, OpenIdConnect and WSFederation • Community: https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers Starting with Asp.Net Core 3.0 we will have a new template for SPA´s
is a delegating authentication protocol • Support interactive and non interactive flows • Three types of tokens • id_token • access_token • refresh_token • Standarises the use of JWT tokens (Json Web Token) • Json representation of claims • Digitally signed for integrity protection Acheve.Authentication.Events https://github.com/hbiarge/Acheve.Authentication.Events
• Interoperable and spec compliant • Open source and part of the .Net Foundation • Flexible and configurable https://github.com/IdentityServer/IdentityServer4
a group of applications • Single point of truth regarding applications authentication • Applications doesn’t care about where the user is authenticated • They only know the one who acts as the Gateway • Decouples identity and applications management Azure AD B2C is another option https://docs.microsoft.com/en-in/azure/active-directory-b2c/active-directory-b2c-overview