Commit Graph

718 Commits

Author SHA1 Message Date
Kiran Challa e55e3b6f5a Updated Authentication's Base64UrlTextEncoder to use WebUtilities's Base64UrlTextEncoder logic 2016-11-01 12:22:42 -07:00
Kiran Challa 500201bdf7 Made ChunkingCookieManager's default chunk size public 2016-11-01 12:14:02 -07:00
Chris R 2d1c56ce5c #884 Honor OIDC's and Jwt's OnAuthenticationFailed HandleResponse() 2016-10-31 13:48:50 -07:00
Kévin Chalet 8fcbddc23b Update ClaimsHelper.AddClaimsToIdentity to infer the claim value type from the JSON token type (#1002) 2016-10-24 09:28:25 -07:00
Pranav K b3fdac568f Merge remote-tracking branch 'origin/rel/1.1.0-preview1' into dev 2016-10-17 09:56:39 -07:00
Pranav K fd56f5ac2a Branching for 1.1.0-preview1 2016-10-17 09:49:45 -07:00
Pranav K fa348ca680 Update to RTM build of ActiveDirectory package 2016-10-14 10:11:48 -07:00
Chris R b1b5a40ebf #1004 clean up social sample code 2016-10-13 20:14:15 -07:00
Pranav K 3eab3ef013 Updating package that was missed 2016-10-13 14:00:21 -07:00
Pranav K 734d36b2d1 Update to latest CoreFx package 2016-10-13 13:59:39 -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 e09dd6d0b8 Fix #976: Break claims value in array into multiple claims (#996)
* Break claims value in array into multiple claims

* Review feedback 1
2016-09-29 16:21:26 -07:00
Adem Caglin ac773beffc Changed BuildChallengeUrl in order to accept AuthorizationEndpoint which contains query parameters (#992) 2016-09-29 13:24:24 -07:00
Troy Dai 0152691108 Cookie Auto: set properties back to ticket when using SessionStore (#995) 2016-09-28 14:25:02 -07:00
Chris R 918d612745 Add ChunkingCookieManager.Sources to NuGetPackageVerifier 2016-09-26 14:31:57 -07:00
Troy Dai 28932a7795 Log the error inforamtion when redeem auth code 2016-09-23 13:10:17 -07:00
Troy Dai ddeef1f9ac Add prompt parameter to Google auth endpoint 2016-09-23 10:44:41 -07:00
Troy Dai 5aae7ded01 Update Twitter auth package description 2016-09-22 14:06:04 -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
Hao Kung 22d2fe99c6 AddOptions in BuildAuthorizationService test helper 2016-09-15 16:21:11 -07:00
Hao Kung e8f55bdb13 Add Fail fast option for AuthZ 2016-09-15 16:12:54 -07:00
Pavel Krymets ce0ed3d237 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources (#968)
Instead of Task.FromResult(0)
2016-09-08 10:01:53 -07:00
Doug Bunting 5b323e5ba1 Increase .travis.yml consistency between repos
- aspnet/Universe#349
- minimize `dotnet` setup time; no need for caching
- build with `--quiet`
2016-09-04 20:12:48 -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 3a5df89f1c Move a nullref check to base class 2016-08-26 08:56:48 -07:00
Troy Dai a79a0360c1 Update OpenIdConnectHandler 2016-08-26 08:56:48 -07:00
Troy Dai c5509fb594 Minor update in OpenIdConnectHandler and Options
1. Default post sign out uri to the root of the applciation;
2. Throw ArgumentNullException for null context in HandleSignOutAsync;
3. Guard null from Unprotected;
4. Clean up code
2016-08-26 08:56:48 -07:00
Troy Dai ed6984fab5 Update signed out redirect url in sample 2016-08-26 08:56:48 -07:00
Troy Dai fa0a68a847 Fix xml comments error 2016-08-26 08:48:27 -07:00
Troy Dai 8f5c7aef57 Update tests 2016-08-26 08:47:56 -07:00
Troy Dai 26956c5ce1 Update OIDC signout flow
OIDC signout should return to CallbackPath then locally redirect to AuthProperties.RedirectUri
2016-08-25 15:23:12 -07:00
Troy Dai 0d5482685b Update OpenIdConnect.AzureAdSample 2016-08-25 15:21:52 -07:00
Troy Dai 59a86c17e2 Update OpenIdConnectSample
1. Use bootstrap to enhance the view.
2. Html encoding
3. Improve readability
2016-08-24 14:28:31 -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 62f0f6e857 HtmlEncode all user input in Azure OpenID sample 2016-08-22 22:30:11 -07:00
Troy Dai 7ea76f5e54 Update OpenID connect Azure sample 2016-08-22 22:27:37 -07:00
Troy Dai 91e5de4d69 Add HTML encoding to OpenIdConnect AzureSample 2016-08-22 22:21:07 -07:00
Troy Dai 6ca981e4df Refine OIDC sample
1. Add signout remote scenario
2. Use bootstrap to enhance the view
3. Improve readability
2016-08-22 22:21:07 -07:00
Hao Kung d291bb7c24 Add AuthZHandlerContextFactory 2016-08-19 17:04:09 -07:00
Hao Kung 6f15d616a8 Add IAuthorizationEvaluator 2016-08-19 17:04:09 -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 fb0a577dd1 Add comments to CookieAuthenticationHandler 2016-08-11 14:03:17 -07:00