Kahbazi
402394347d
Add parameters for Microsoft Account Authentication ( #11059 )
...
Co-Authored-By: campersau <buchholz.bastian@googlemail.com>
2019-06-12 13:07:44 -07:00
Chris Ross
639e3dd07b
Fix Negotiate tests downlevel #11009 ( #11101 )
2019-06-12 11:48:21 -07:00
Chris Ross
4fa5a228cf
Add error details for OAuth and OIDC remote errors #4682 ( #11002 )
2019-06-12 11:32:40 -07:00
Hao Kung
f8bd011d85
Don't strip amr and auth_time in OIDC by default ( #11076 )
2019-06-11 14:53:32 -07:00
Nate McMaster
41ce223c1c
Replace Internal.AspNetCore.Sdk with Microsoft.DotNet.Arcade.Sdk ( #10674 )
...
* Update build.cmd to install .NET Core into $repoRoot/.dotnet instead of $repoRoot/.dotnet/x64
* Move restore sources from build/sources.props into eng/Versions.props (following arcade conventions)
* Remove usages of RuntimeFrameworkVersion in tests and build
* Update Blazor VSIX to use Arcade VSIX tools
* Rename Common.Tests to IIS.Common.TestLib and make it a test asset
* Remove custom versions props for ANCM installer code
* Remove duplicate references to xunit and remove usages of IsTestProject
* Remove duplicate references to Internal.AspNetCore.Analyzers
* Import Arcade.Sdk props and targets and remove custom versioning props
* Remove references to Internal.AspNetCore.Sdk
* Rename PackageLicenseType => PackageLicenseExpression
* Remove dependency on tasks in Internal.AspNetCore.Sdk, add ref to Internal.AspNetCore.BuildTasks as a temporary workaround
* Use Arcade's nuspec support
* Rename SignalR.Client.FunctionalTests to SignalR.Client.FunctionalTestApp
* Fixes for changes to property evaluation order
* Update BaseLineGenerator to netcoreapp3.0
* React to changes in evaluation order in RPM files and quirks in using <Exec> instead of <Run>
* Update Microsoft.Extensions.ApiDescription.Server to react to changes in Arcade packaging
* Workaround aspnet/AspNetCore#11009
2019-06-07 17:19:41 -07:00
Brennan
3259a2c9f6
Prefer File.Move for DataProtection key creation + Fallback ( #10990 )
2019-06-07 15:32:08 -07:00
Kahbazi
1b5db12d3f
Indicates that SaveTokens is not supported for WsFederation ( #10763 )
2019-06-07 11:44:22 -07:00
Chris Ross
75e0115de9
Add PKCE support in OIDC & OAuth #7734 ( #10928 )
2019-06-07 11:27:44 -07:00
Jeow Li Huan
544a01ae0a
Add no-store to OpenIdConnectHandler cache-control response headers ( #10318 ). ( #10741 )
2019-06-04 07:52:16 -07:00
David Fowler
400835e0b4
Remove Transport.Abstractions from existence ( #10722 )
2019-06-01 17:22:47 -07:00
Hao Kung
b75b892eac
Add CertificateAuthentication ( #9756 )
2019-05-31 22:49:40 -07:00
Hao Kung
5d6c2edab0
Require ClaimsPrincipal.Identity.IsAuthenticated for SignIn by default ( #9482 )
2019-05-31 15:43:00 -07:00
Javier Calvarro Nelson
3f041cee44
Produce Microsoft.AspNetCore.Authorization as a package ( #10684 )
...
Produce Microsoft.AspNetCore.Authorization as a package
2019-05-31 21:12:16 +02:00
Chris Ross
ede9249223
React to Authorization refactor ( #10453 )
2019-05-22 09:36:52 -07:00
Chris Ross
f5879cc0d5
Add new Negotiate Auth handler ( #9831 )
2019-05-22 06:14:50 -07:00
Nate McMaster
01a8798936
Update links and disable warnings related to tests that don't work in Helix ( #10427 )
2019-05-21 16:39:06 -07:00
Hao Kung
16a47948f8
Move AuthZ policy types back into Policy and rejigger AddAuthorization ( #10021 )
2019-05-20 16:20:19 -07:00
Mickaël Derriey
9f4aa98ee2
Handle `null`s in the `JsonDocumentAuthExtensions.GetString` extension method ( #10252 )
2019-05-15 13:48:15 -07:00
Nate McMaster
dc90e11c7a
Move obj and bin directories into repo root ( #10063 )
...
The Arcade SDK requires that the obj/ and bin/ folders be placed in the top-level artifacts/ folder of the repo. Although this PR does not complete our Arcade convergence, this is a step towards updating our repo to build with the Arcade SDK.
Changes:
* Set output path for build to artifacts/bin/$(ProjectName)/
* Set intermediate output path for build to artifacts/obj/$(ProjectName)/
* Cleanup .gitignore files (remove duplication between repo-root and tested gitignore files)
* Add code check which looks for project files that share the same name (could cause issues)
* Rename project files to have unique names (avoid race condition of build output)
* Update all locations which were hard-coded to expect bin/ and obj/ in the project directory
* Add overrides for tests which still assert test binaries exist in a given location relative to the source code
2019-05-15 13:44:55 -07:00
Nate McMaster
77e08c26d5
Replace all usages of RepositoryRoot with RepoRoot ( #10267 )
...
Preparing to adopt the Arcade SDK, which uses the shorter variable name instead
2019-05-15 12:00:19 -07:00
Hao Kung
0425808b70
RequiredPolicy reborn and less demanding as FallbackPolicy ( #9759 )
2019-05-14 12:42:34 -07:00
Ryan Nowak
0b590ff46f
Fix #6764 EndpointConventionBuilder API review
2019-05-09 19:38:43 -07:00
Ryan Nowak
24784d0681
Fix #10066
2019-05-09 13:44:16 -07:00
Mickaël Derriey
a677fd231e
Make OIDC handler skip unrecognized requests ( #10060 )
2019-05-08 22:05:58 -07:00
Bill Barry
08b12b0d72
comment typo
2019-05-03 17:15:05 -04:00
James Newton-King
da66edc8ff
Change IEndpointConventionBuilder extension methods to use generic argument ( #8906 )
2019-05-02 07:25:54 +12:00
Nate McMaster
ae8e96f154
Remove API check baselines and related project settings ( #9846 )
2019-04-30 14:58:13 -07:00
Javier Calvarro Nelson
6fa9398781
[MVC][ Fixes #8426 ]TempData does not clear when using __Host- as cookiename prefix ( #9741 )
2019-04-25 17:32:12 +02:00
dotnet-maestro[bot]
8eb2e8baec
[master] Update dependencies from dotnet/arcade ( #9715 )
...
* Update dependencies from https://github.com/dotnet/arcade build 20190423.2
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19223.2
* Adjust to GenApi change in `enum` ordering
- was sorted by name, now by value
2019-04-24 19:21:37 +00:00
Ben Adams
48c97b425e
Use .IndexOf(char/byte) where possible ( #9539 )
2019-04-22 10:05:40 -07:00
Nate McMaster
9212f4a3df
Update corefx dependencies and react to changes in JSON API ( #9563 )
2019-04-19 11:42:41 -07:00
James Newton-King
7669cf0d03
Move Microsoft.AspNetCore.Authorization.Policy types ( #9492 )
2019-04-19 13:24:36 +12:00
James Newton-King
c34cdefc95
Avoid async in AuthorizationMiddleware when no metadata ( #9521 )
2019-04-19 11:56:05 +12:00
Ben Adams
8fcadf72cd
Allow headers to match on ReferenceEquals before OrdinalIgnoreCase ( #9341 )
2019-04-18 12:00:01 -07:00
Hao Kung
47ae9d9299
Remove RequiredPolicy ( #9399 )
2019-04-17 21:58:38 -07:00
Pranav K
004ac25983
Remove AddRazorSupportForMvc from MVC and Blazor projects ( #9446 )
...
Fixes https://github.com/aspnet/AspNetCore/issues/9126
Fixes https://github.com/aspnet/AspNetCore/issues/9183
Fixes https://github.com/aspnet/AspNetCore/issues/9207
2019-04-16 20:46:51 -07:00
Chris Ross
0d45fe73d7
Handle MicrosoftAccount email fallback #9083 ( #9304 )
2019-04-12 08:26:15 -07:00
Pranav K
ae34697797
Fix #9041 - Complain if auth hasn't been set up correctly ( #9181 )
2019-04-11 10:36:21 -07:00
Hao Kung
42b3fada31
Add validation to ensure Cookie.Expiration is not set ( #8967 )
2019-04-02 09:56:37 -07:00
Ryan Nowak
658b37d2bd
Make UseEndpoints a thing ( #8765 )
...
* Make endpoint middleware explicit
This change makes the endpoint middleware explicit again, and updates
all of the templates.
The other change here is make UseEndpoints be the place where you
register endpoints. This is vital because it puts your code visually at
the point of the pipeline where it executes.
Lastly, I removed support for UseMvc with endpoint routing. This is
causing issues for some security features, and we're moving in the
direction of trying to make the middleware heavy implementation required
in 3.0. There are some issues we won't be able to fix in MVC if we can't
unambiguously know if UseMvc was used or the middleware.
2019-03-28 15:41:11 -07:00
Hao Kung
b7e122fbac
Hook auth options validation into validation feature ( #8665 )
2019-03-25 11:35:39 -07:00
Hao Kung
6641a02ff2
Enable AuthSamples.FunctionalTests on helix ( #8691 )
2019-03-25 11:19:27 -07:00
Pranav K
9a35bbea03
Experience for Razor SDK ( #8731 )
...
* Experience for Razor SDK
* Remove Components.Build
* Update MVC projects and templates to use AddRazorSupportForMvc
* Update components templates to use .razor extension
Fixes https://github.com/aspnet/AspNetCore/issues/6392
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190321.3
- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19171.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19171.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19171.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19171.3
* Update dependencies from https://github.com/dotnet/core-setup build 20190322.01
- Microsoft.NETCore.App - 3.0.0-preview4-27522-01
Dependency coherency updates
- Microsoft.Bcl.Json.Sources - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.CSharp - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Win32.Registry - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ComponentModel.Annotations - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Data.SqlClient - 4.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Diagnostics.EventLog - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.IO.Pipelines - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.Http.WinHttpHandler - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Reflection.Metadata - 1.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Cng - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Pkcs - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Xml - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Permissions - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Principal.Windows - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ServiceProcess.ServiceController - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Text.Encodings.Web - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Threading.Channels - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27522-01 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.Platforms - 3.0.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190321.4
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview4.19171.4
- dotnet-ef - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview4.19171.4
* Update dependencies from https://github.com/aspnet/Extensions build 20190321.4
- Mono.WebAssembly.Interop - 3.0.0-preview4.19171.4
- Microsoft.JSInterop - 3.0.0-preview4.19171.4
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration - 3.0.0-preview4.19171.4
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.Testing - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview4.19171.4
- Internal.AspNetCore.Analyzers - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview4.19171.4
- Microsoft.Extensions.WebEncoders - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Primitives - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ObjectPool - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Console - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview4.19171.4
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Hosting - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Http - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Localization - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview4.19171.4
* Grab latest from other aspnet repos
- brings everything into coherence
- aspnet/Extensions packages with version 3.0.0-preview4.19172.1 from build 20190322.1
- aspnet/AspNetCore-Tooling packages with version 3.0.0-preview4.19172.2 from build 20190322.2
- aspnet/EntityFrameworkCore packages with version 3.0.0-preview4.19172.3 from build 20190322.3
2019-03-22 17:33:20 -07:00
Andrew Stanton-Nurse
6a73d75688
fix skipped test to actually be skipped ( #8238 )
2019-03-08 10:24:48 -08:00
Chris Ross
5170c31b23
Add details to the JwtBearer error messages #4679 ( #8259 )
2019-03-07 08:15:16 -08:00
David Fowler
4c79e7fdc0
Rename Pipe properties ( #8227 )
...
* Rename Pipe properties
- Rename BodyPipe to BodyReader and BodyWriter on the request and response directly
2019-03-06 07:33:24 -08:00
Andrew Stanton-Nurse
7b24304739
skip flaky SecureDataFormatTest in Helix ( #8129 )
...
related #7366
2019-03-04 07:50:53 -08:00
Chris Ross
93b195e566
Change SameSite default to None #2675 #4661 ( #8043 )
2019-03-01 16:22:12 -08:00
Chris Ross
26d71e6ef6
Fix up Security samples #7765 ( #7767 )
2019-02-22 15:45:20 -08:00
Pavel Krymets
9355c7c1a5
Add reference assemblies support ( #7764 )
2019-02-21 14:33:35 -08:00