Commit Graph

208 Commits

Author SHA1 Message Date
Kévin Chalet 56dca7e0bc Add a 'sid' check to the OIDC middleware to prevent unsolicited logout when possible 2016-06-02 12:21:17 -07:00
Chris R c9f8455dbc Update sample ADAL dependency 2016-06-01 06:52:57 -07:00
Chris R 00990448bf Sample config cleanup. 2016-05-27 15:04:05 -07:00
Chris R 871885259b Update the OIDC AzureAd sample. 2016-05-27 15:00:31 -07:00
Chris R d6763bd77c #423 Support distributed sign-out. 2016-05-27 14:51:53 -07:00
Chris R 59fc691f41 #667 #801 Handle authorize and forbid for redirecting handlers. 2016-05-23 10:50:50 -07:00
Chris R 8b4b99b168 Clean up samples 2016-05-17 13:36:18 -07:00
Chris R d814cef75a Merge branch 'release' into dev 2016-05-03 10:09:44 -07:00
Chris R 7645253420 #808 Update OIDC to v1.0 2016-05-03 09:39:36 -07:00
Pranav K cf75a0f793 Merge branch 'release' into dev 2016-05-02 14:57:21 -07:00
Pranav K f6cdb9faf9 Fix build warnings 2016-05-02 11:27:26 -07:00
Pranav K 281ff3149b Merge branch 'release' into dev 2016-04-28 15:27:00 -07:00
Pranav K d5f29c1408 Fix build break 2016-04-28 15:26:44 -07:00
Chris R 0bce133ee4 #765 Retrieve the email address from Twitter. 2016-04-28 10:19:30 -07:00
John Luo bb7290e9e1 Remove references to UseDefaultConfiguration 2016-04-27 15:28:21 -07:00
BrennanConroy 32cb95c3ee Update web.config and add publish tool 2016-04-25 13:07:00 -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
Mike Harder 669c06098b React to Kestrel config changes
- aspnet/KestrelHttpServer#720
2016-04-13 17:57:25 -07:00
John Luo 300b9cd90f Fix typo when migrating to ANCM 2016-04-11 11:48:44 -07:00
John Luo ff536cc868 Move web.config and use ANCM 2016-04-11 10:12:20 -07:00
John Luo babd83cf28 Reacting to Kestrel extensions 2016-03-30 15:51:02 -07:00
Chris R 3f596108aa #690 OIDC & JWT event refactoring. 2016-03-25 10:08:33 -07:00
John Luo a2aa94c424 Reacting to Hosting changes 2016-03-24 11:55:44 -07:00
Doug Bunting 81bf1c2096 Cleanup transitive dependencies 2016-03-17 22:23:23 -07: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
Chris R 909c342711 Small sample updates. 2016-03-04 10:19:09 -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
Chris R 9bbbe535f2 #690 Enable custom OIDC authorization code redemption. 2016-02-19 15:07:25 -08:00
Chris R 34bc9c52e1 #456 Unify OIDC Code/IdToken/Hybride flows. 2016-02-08 12:06:13 -08:00
N. Taylor Mullen bafb097e9f Update to new CLI.
- Added appropriate imports/net core platform libraries.
2016-02-06 19:51:50 -08:00
Hisham Bin Ateya 1b4ccd0ddf Add 'UseServer' 2016-02-04 17:04:59 -08:00
Chris R a80c5e6d85 #614 Standardize the pattern for scope defaults. 2016-01-27 15:26:32 -08:00
N. Taylor Mullen a5b288897d Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:39:16 -08:00
N. Taylor Mullen c0d587e7c2 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:35:47 -08:00
Chris R de2cb12f5c OIDC cleanup 2016-01-21 17:14:15 -08:00
John Luo 0f9875df0a Reacting to hosting rename 2016-01-17 17:09:38 -08:00
Chris R 197a2aa3fa React to Hosting API change. 2016-01-12 15:41:35 -08:00
John Luo 417ca6cbe3 Updating to new options pattern 2016-01-08 16:53:31 -08:00
John Luo 5837ce160a Stardardizing middleware to use ConfigureOption lambda 2015-12-22 21:34:52 -08:00
John Luo a041807023 Reacting to new Hosting API 2015-12-18 15:09:41 -08:00
Chris R 965a86e404 #593 Convert samples to use UserSecrets. 2015-12-14 10:46:22 -08:00
Chris R 0623f3b741 #555 Make SkipToNextMiddleware work on events. 2015-12-09 15:26:47 -08:00
Chris R 17072b1417 #574 Add a JwtBearer sample. 2015-12-03 16:05:55 -08:00
Chris R a18181d363 #565 Update facebook APIs to v2.5. 2015-12-02 10:43:17 -08:00
Chris R 17e9a3336f Update the sample dependencies, commands, etc.. 2015-12-01 15:54:12 -08:00
Chris R 51cc52e855 Tooling sample updates. 2015-11-30 11:57:49 -08:00
Chris R 1a59b385a0 React to WebEncoders changes. 2015-10-30 11:39:39 -07:00
Chris R 35b7248734 #455 Remove RedirectUri from OIDC, use CallbackPath. 2015-10-22 14:56:15 -07:00
Hao Kung b09777fe38 Update samples with error handling 2015-10-21 15:14:45 -07:00
Chris R f588677bb4 #506 Update to Rc1 IdentityModel, update ValidateUserInfoEndpointResponse. 2015-10-16 12:11:54 -07:00
Hao Kung 409b50269a Add RemoteAuthenticationHandler base/error handling logic 2015-10-14 23:08:43 -07:00
Pranav K 6c529eae7a Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:47 -07:00
Chris R 78cf065b88 #493 Upate to IdentityModel beta8 dependencies. 2015-09-28 18:25:13 -07:00
Hao Kung e091bceaa8 Caption => DisplayName 2015-09-23 15:02:03 -07:00
Hao Kung 1ef66c9c11 Fix stuff 2015-09-22 16:48:50 -07:00
Hao Kung 78d1d0099f Cleanup 2015-09-22 16:36:48 -07:00
Hao Kung 644a4002a9 Rename back to jwtBearer 2015-09-22 14:09:41 -07:00
Hao Kung 59ccbdd8ca Fix stuff 2015-09-21 14:56:05 -07:00
Hao Kung 081577e4f4 Remove usage IOptions from middleware ctors 2015-09-18 12:24:33 -07:00
Hao Kung e8090a3176 Remove authentication from names, async events 2015-09-14 14:54:51 -07:00
Chris R ebcad24307 #404 Verify state via independent cookie. 2015-09-09 12:16:22 -07:00
Hao Kung 5bc13cbd6b UseOauth now requires an instance of options 2015-09-09 11:05:14 -07:00
Chris R d3ad11a753 #47 Rename Notifications to Events and Contexts. 2015-09-02 17:01:21 -07:00
Hao Kung bf2b771eab React to Options, Configure => Add, Cookie changes
UseCookie now has an overload which takes an instance of CookieOptions
2015-09-02 14:13:16 -07:00
Kévin Chalet d9b3ea2a54 Add POST support for OpenID Connect authorization and logout requests 2015-09-01 03:59:50 +02:00
Stephen Halter 16914ec021 React to Kestrel rename
aspnet/KestrelHttpServer#11
2015-08-12 12:02:11 -07:00
Hao Kung 5a2499eb22 Rename ExternalAuthenticationOptions => Shared 2015-07-16 12:43:03 -07:00
Hao Kung 73d4440a25 API review: nuke notification namespaces 2015-07-16 11:56:48 -07:00
Kévin Chalet 9bb8b61146 Revisit OAuthAuthenticationHandler and add a new SaveTokensAsClaims option 2015-07-01 15:03:54 -07:00
Hao Kung 3a8ea672ea AuthN and AuthZ API changes (Async, Challenge) 2015-06-25 17:19:27 -07:00
Kiran Challa 76bd1a2f17 Reacting to Caching api review changes 2015-05-21 13:24:31 -07:00
Troy Dai d89f5d0f47 Move comment into Startup.cs 2015-05-14 22:41:41 -07:00
Troy Dai 538e1d6a8b Remove comments from project.json 2015-05-12 13:58:52 -07:00
Chris R f864244124 #242 Remove diagnostics sample dependency. 2015-05-05 09:52:15 -07:00
Chris Ross 63fc18b945 React to auth feature API changes. 2015-04-24 09:57:49 -07:00
Hao Kung 87c31c5526 Switch to IUrlEncoder, introduce AddAuthentication 2015-04-23 22:49:47 -07:00
Chris Ross 6072e3b1b8 #221 Remove unneeded dependencies around DataProtection. 2015-04-21 16:21:50 -07:00
Chris Ross 7d6349c81d Fix samples. 2015-04-20 15:59:31 -07:00
Hao Kung 7bc6cab72e Fix samples 2015-04-20 15:26:22 -07:00
Chris Ross 99f3aa197f #118 - Use common cookie header formatters. 2015-04-20 15:16:29 -07:00
Doug Bunting 440e782f8b Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:29 -07:00
Wei Wang 3860951100 Remove k command and use dnx instead 2015-03-24 22:35:54 -07:00
Hao Kung aae2e630b4 Fix samples 2015-03-19 11:43:03 -07:00
Hao Kung 776593ec71 React to hosting changes 2015-03-19 11:04:33 -07:00
Praburaj 6086bb0a62 Fixing the OpenIdConnect sample 2015-03-18 15:04:58 -07:00
Hao Kung 14d1b467c6 ClaimsXform and RIP AutoAuthHandler
- Initial support for ClaimsTransformation
- merge automatic auth handler back into base
2015-03-16 15:14:44 -07:00
Praburaj bd7f07052e Using [NotNull] from the common package 2015-03-14 07:25:14 -07:00
Praburaj eb73ad64fd React to Caching package rename
Dependent on https://github.com/aspnet/Caching/pull/49/files
2015-03-11 17:29:24 -07:00
N. Taylor Mullen f8c526c12d Update .kproj => .xproj. 2015-03-11 14:04:40 -07:00
N. Taylor Mullen 08fdd7ad30 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:59:01 -07:00
N. Taylor Mullen 1bd605da5e Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:56:09 -07:00
Hao Kung 775eb5ece4 Split Security into AuthN/AuthZ
AuthenticationType -> Scheme
Move Active/Passive into AutomaticAuthenticationHandler
Security -> Authorization/Authentication assemblies
401-403 logic
Switch from ClaimsIdentity to ClaimsPrincipal
2015-03-02 15:33:52 -08:00
Levi B d864b72561 React to DataProtection rename 2015-02-25 17:23:11 -08:00
Brennan b17d718d27 Updating .kproj files 2015-02-04 14:24:28 -08:00
Chris Ross 38fb911afc Clean up auth types, copywrite headers, file names, exceptions. 2015-01-14 15:13:24 -08:00
Chris Ross 91242245f3 Fix directory casing, part 2. 2015-01-14 14:54:47 -08:00