Commit Graph

207 Commits

Author SHA1 Message Date
Javier Calvarro Nelson f51af820a5 [Fixes #1742, #1722, #1706, #1725, #1688] Fixes multiple issues
* Update test infrastructure to use the latest bits.
* Add tests for different types of users.
* Logout must redirect instead of just rendering
  the page so that the identity in the request gets
  properly updated
* Remove IUserFactory and IdentityUserFactory.
* Added tests to verify that the default UI endpoints are not accessible
  when the default UI is not enabled.
* Update the user name at the same time when the email is updated.
2018-04-13 15:47:23 -07:00
Hao Kung 167a108f4e
Add AddDefaultIdentity (#1698) 2018-03-20 10:10:22 -07:00
Brice Lambson 4f5b3bea98 Remove Microsoft.EntityFrameworkCore.Tools.DotNet 2018-03-19 13:01:16 -07:00
Hao Kung efe0c6be7b
Split Auth into AddIdentityCookies (#1442) 2018-03-13 13:11:29 -07:00
Pranav K 0ef83207d4 Remove unused used that fail to compile 2018-03-09 14:58:36 -08:00
Hao Kung 9ecbefcf21
ProtectPersonalData + extensiblity support (#1562) 2018-03-08 12:13:34 -08:00
Jass Bagga 37b8abf841
Refresh user signin after updating their profile (#1615) 2018-02-05 14:21:19 -08:00
Javier Calvarro Nelson 185482c8cf [Fixes #1572] Improve the extensibility of the default identity UI 2018-01-26 16:08:16 -08:00
Javier Calvarro Nelson 5079f708e1 [Fixes #1583] Add authorization to the default Identity UI 2018-01-21 11:31:56 -08:00
Javier Calvarro Nelson d968fdd31f [Fixes #1580, #1581] Update Identity UI to use Razor precompilation
* Switch from using the embedded file provider for the precompiled views
  for actual razor precompilation.
* Add MSBuild props and targets file to include additional assembly
  attributes on the generated precompiled views.
2018-01-21 11:19:16 -08:00
Hao Kung 435ab653db
Update initial migration for DefaultUI sample (#1561) 2018-01-10 13:58:03 -08:00
Hao Kung b07a95dd09
Add Store.MaxLengthForKeys (#1555)
* Add Store.MaxLengthForKeys

If set this will set max length of things we use for composite keys in
UserTokens/Logins

Needed for https://github.com/aspnet/templating/issues/62
2018-01-09 11:32:40 -08:00
Hao Kung 85f8a49aef Shorten folder names 2018-01-08 12:15:12 -08:00
Javier Calvarro Nelson 07bf52ec0d Fix fixed dependency 2017-12-30 13:43:44 -08:00
Javier Calvarro Nelson 4b49f2b482 Revert "Revert Move identity into an Area in a library (using Razor Pages) (#1537)"
This reverts commit d612d20344.
2017-12-21 18:17:29 -08:00
Pavel Krymets d612d20344
Revert Move identity into an Area in a library (using Razor Pages) (#1537) 2017-12-21 16:58:59 -08:00
Javier Calvarro Nelson 2964515d85 Adds support for a default UI for identity.
* The default UI uses its own Area (Identity).
* The default UI requires MVC and StaticFiles to be present on the
  request processing pipeline.
* The default UI requires the user to provide a '_LoginPartial ' partial
  view in their application in a location that the view engine will find
  it. This location is tipically /Pages/Shared or /Views/Shared
* Current limitations:
  * The UI is self-contained and non-customizable (outside of things possible with Razor pages).
  * Customizing the User, role, etc. is not supported at this time.
2017-12-21 14:20:42 -08:00
Pranav K 935780644a Update samples and tests to target netcoreapp2.1 2017-11-14 10:40:53 -08:00
Nate McMaster 52dfb02175 Pin tool and package versions to make builds more repeatable 2017-10-31 14:43:19 -07:00
Hao Kung f147951d92 Revert "use WebHost.CreateDefaultBuilder in IdentitySample.Mvc"
This reverts commit 20ec50d5d2.
2017-10-24 14:54:41 -07:00
Hao Kung c69b0423a4 Revert "add Microsoft.AspNetCore dependency"
This reverts commit 9842863695.
2017-10-24 14:54:39 -07:00
Tugberk Ugurlu 9842863695 add Microsoft.AspNetCore dependency 2017-10-24 14:40:24 -07:00
Tugberk Ugurlu 20ec50d5d2 use WebHost.CreateDefaultBuilder in IdentitySample.Mvc
so that it picks up the logging config from the `appsettings.json`
2017-10-24 14:40:24 -07:00
Javier Calvarro Nelson f11d692976 Rename the area IdentityService to Identity 2017-09-01 14:05:00 -07:00
Javier Calvarro Nelson 0fbef1ec0b Fix issue with the Msal filter 2017-09-01 11:24:44 -07:00
Javier Calvarro Nelson 22509c0872 Modified Msal filter on the sample to be more permisive 2017-09-01 10:49:12 -07:00
Nate McMaster 6ec67d9521 Remove Identity.Samples.sln and add the WPF sample to Identity.sln (#1407) 2017-08-31 17:05:41 -07:00
Nate McMaster c8cf56520a Remove DotNetCliToolReference to workaround NuGet/Home#5716 2017-08-29 15:43:06 -07:00
Nate McMaster 1734c7ff3d Use PackageLineup to manage PackageReference versions 2017-08-29 14:55:50 -07:00
Nate McMaster 55a5001c03 Use Directory.Build.props/targets 2017-08-29 14:13:32 -07:00
Javier Calvarro Nelson a7804c30cc Workaround for MSAL.js sending the logout request with the wrong casing 2017-08-28 18:59:34 -07:00
Javier Calvarro Nelson 971baec111 Workaround for Visual Studio complaining about inexisting project.json file 2017-08-28 18:58:52 -07:00
Javier Calvarro Nelson 8112557164 Update migration to enable all scenarios out of the box 2017-08-25 13:50:39 -07:00
Javier Calvarro Nelson 293976688a Added basic MSAL UI to the sample, added SPA sample 2017-08-22 11:08:13 -07:00
Javier Calvarro Nelson 3828f2d7c4 Add native WPF sample for identity and OIDC 2017-08-16 15:57:23 -07:00
Javier Calvarro Nelson b3c8ff4ae5 Add a website for functional E2E tests and make an OIDC id_token flow succeed
Add a couple of functional tests for doing an id_token flow and an authorization_code flow
2017-08-15 18:04:39 -07:00
Ryan Brandenburg 3333161313 Remove TargetFallback 2017-07-05 12:15:17 -07:00
Hao Kung ef411276d6 Switch to new Auth API (#1296) 2017-07-03 11:54:01 -07:00
Javier Calvarro Nelson f91e3ff342 Fix versions on OIDC sample 2017-06-19 15:34:20 -07:00
Kiran Challa 2ac96dc904 Changed all references of PackageTargetFallback to AssetTargetFallback 2017-06-14 14:25:25 -07:00
Pavel Krymets f65a544662 React to logging changes 2017-06-07 14:28:07 -07:00
Pavel Krymets 66d69f7ae5 React to logging in DI change 2017-06-02 10:47:35 -07:00
Javier Calvarro Nelson e38759b8a2 Make OIDC sample netcoreapp2.0 only 2017-05-30 11:50:19 -07:00
Javier Calvarro Nelson 48f9d47e90 Add a sample using OIDC and integrated client 2017-05-30 11:03:22 -07:00
Hao Kung 45f9780d32 Switch back to netstandard2.0 2017-05-26 12:45:28 -07:00
Hao Kung e6f3ebf581 Refactor Identity into Core + Stores 2017-05-23 11:21:39 -07:00
Andrew Stanton-Nurse 1909240393 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-04 15:50:44 -07:00
Andrew Stanton-Nurse d19f44124b netcoreapp2.0 (#1183) 2017-05-04 15:49:48 -07:00
Nate McMaster ca192308c8 Revert "Temporarily disable DotNetCliToolReference in samples until aspnet/Universe#506 is resolved"
This reverts commit dff2a3a559.
2017-04-28 11:50:16 -07:00
Brice Lambson dff2a3a559 Temporarily disable DotNetCliToolReference in samples until aspnet/Universe#506 is resolved 2017-04-25 15:05:16 -07:00