Commit Graph

59 Commits

Author SHA1 Message Date
Pranav K 46df38de68 Updating versions to 1.2.0-* 2016-11-09 14:19:34 -08:00
Chris R 0c815da523 #903 Ensure redirect uris can be generated 2016-11-04 10:51:03 -07:00
Chris R 2d1c56ce5c #884 Honor OIDC's and Jwt's OnAuthenticationFailed HandleResponse() 2016-10-31 13:48:50 -07:00
Pranav K 7e577832ff Updating to netcoreapp1.1 2016-10-13 11:24:28 -07:00
Pranav K 1268d245b8 Revert "Updating to netcoreapp1.1"
This reverts commit 55134b31fe.
2016-10-12 16:09:40 -07:00
Pranav K 55134b31fe Updating to netcoreapp1.1 2016-10-12 13:46:35 -07:00
Pranav K f64c864911 Updating partner package versions 2016-10-03 14:28:05 -07:00
Troy Dai ddeef1f9ac Add prompt parameter to Google auth endpoint 2016-09-23 10:44:41 -07:00
Chris R 25f39dd0f5 #859 Discriminate between providers when sharing an auth cookie 2016-09-21 16:27:35 -07:00
Kiran Challa aa1fd5d89a Move ChunkingCookieManager to a separate Sources project 2016-09-21 12:25:41 -07:00
Hao Kung e12838e38f Auth: Always call prior handlers during Challenge 2016-09-21 11:20:41 -07:00
Troy Dai cbbec15d37 Ignore null ExpiresUtc property in RequestRefresh
Issue: https://github.com/aspnet/Security/issues/949
2016-08-26 14:55:36 -07:00
Troy Dai 8f5c7aef57 Update tests 2016-08-26 08:47:56 -07:00
Troy Dai d887d74819 Update OpenIdConnectChallengeTests
1. Set header and status code in OnRedirectToIdentityProviderEventHandlesResponse
2. Move field to the top
2016-08-23 21:27:00 -07:00
Troy Dai c5c11e81b3 Split TestTransaction, add extension to TestServer 2016-08-23 09:05:17 -07:00
Troy Dai 562eb7054a Merge TestDefaultValues with TestServerBuilder 2016-08-23 09:05:17 -07:00
Troy Dai abc1b37ee1 Update OpenId Connect Challenge Tests
1. Expand the test coverage: add tests covers events work flow.
2. Move OpenID connect challenge tests to their own class.
3. Further refactory the test settings and utilities.
2016-08-23 09:05:17 -07:00
Troy Dai 936a4f6092 Update OpenId Connect Configuration tests
1. Move configuration related tests to their own class;
2. Add tests to cover missing options scenarios;
3. Add TestDefaultValues class for default values used in OpenId connect
tests.
2016-08-18 09:51:40 -07:00
Troy Dai 26a7c7016d Minor updates to CookieAuthenticationHandler and its tests
1. Remove unnecessary variable declaration.
2. Update test name to a more accurate description.
2016-08-11 10:15:07 -07:00
Troy Dai 4600451dc6 Allow absolute uri in authentication properties for cookie auth redirect 2016-08-11 08:48:47 -07:00
Troy Dai 97afe4acc8 Adjust the redirect URI precedence in cookie auth 2016-08-10 15:59:39 -07:00
Troy Dai 1ef62a40b3 Add test for CookieAuthentication 2016-08-10 15:59:39 -07:00
Troy Dai 0314632696 JwtBearer Token: Catch exception during unauthorized flow 2016-08-05 12:11:33 -07:00
Hao Kung 137e18f39d Add test 2016-07-29 13:26:36 -07:00
Doug Bunting 792b316950 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:40:05 -07:00
Ajay Bhargav Baaskaran 7323e75d5d Updating to RTM builds of xunit and Moq 2016-07-05 21:28:47 -07:00
Pranav K d8d408638e Updating to dev versions
# Conflicts:
#	src/Microsoft.AspNetCore.Authentication.OAuth/project.json
#	src/Microsoft.AspNetCore.Authentication.Twitter/project.json
2016-06-16 11:31:40 -07:00
N. Taylor Mullen b7bdb39b92 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:29:53 -07:00
Pranav K bffbfc7f9e React to OpenId renames 2016-06-04 18:53:09 -07:00
Kévin Chalet 120021e8a3 Add a new IncludeErrorDetails option to prevent the JWT middleware from returning error/error_description 2016-06-03 22:46:00 +02:00
Chris R e299695974 #776 Show some JwtBearer errors in response headers 2016-06-01 07:10:16 -07:00
Chris R 2634fe318d #814 Rework CookieAuth for compat with CookiePolicy. 2016-05-26 14:20:15 -07:00
Hao Kung db7009531a Update google token endpoint to v4 2016-05-23 10:31:36 -07:00
Hao Kung bfbe7ec15d Update fb to v2.6 2016-05-23 10:31:36 -07:00
BrennanConroy 962a74c488 Add argument validation 2016-05-16 15:19:58 -07:00
Chris R 6294badd97 Use a shared CookieSecurePolicy. 2016-05-16 12:29:33 -07:00
Chris R 7645253420 #808 Update OIDC to v1.0 2016-05-03 09:39:36 -07:00
Pranav K f6cdb9faf9 Fix build warnings 2016-05-02 11:27:26 -07:00
Pranav K 85b5eb28a0 Use latest build of dotnet-test-xunit 2016-04-19 14:54:11 -07:00
Pavel Krymets e3667f7c26 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:05:20 -07:00
Pavel Krymets f6557c821d Migrate tests, tools and samples to portable 2016-04-15 09:48:24 -07:00
Doug Bunting 16a0482238 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:15:37 -07:00
Chris R 3f596108aa #690 OIDC & JWT event refactoring. 2016-03-25 10:08:33 -07:00
David Fowler 6a0e58e3ff Fixed build 2016-03-25 02:46:34 -07:00
Dovydas Navickas f5c1c45db2 IClaimsTransofrmer updated to take ClaimsTransformationContext instead of ClaimsPrincipal in TransformAsync method. #718 2016-03-11 14:07:56 -08:00
Osman M Elsayed 8645ca0dc5 Update MicrosoftAccount to use converged auth
-Updated MicrosoftAccountDefaults to use app model v2 & graph API
-Updated MicrosoftAccountHelper to extract user info from the user object
returned by the graph API
-Updated MicrosoftAccountMiddlewareTests accordingly
-Added the app model v2 client credentials to SocialSample/config.json
-Configured SocialSample to use SSL

Startup.cs
- Sorted namespaces
- Dropped openid scope from Microsoft-AccessToken
project.json
- Sorted dependencies
MicrosoftAccountHelper.cs
- Removed name claim transofmation
- renamed GetName, GetFirstName & GetLastName
2016-03-04 11:52:43 -08:00
Hao Kung 0ab5cdc6ad Fix bad rebase 2016-03-03 14:01:24 -08:00
Hao Kung ace166fa31 Save tokens in auth properties instead of claims 2016-03-03 12:50:46 -08:00
Doug Bunting fbb628298c Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 21:20:11 -08:00
N. Taylor Mullen e3979fd3fe Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:36:53 -08:00