Commit Graph

227 Commits

Author SHA1 Message Date
Pranav K f64c864911 Updating partner package versions 2016-10-03 14:28:05 -07:00
Troy Dai ed6984fab5 Update signed out redirect url in sample 2016-08-26 08:56:48 -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 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
Petr Onderka a1f8278381 Improve sample README
* fixed broken link
* improved formatting
* added missing full stops
2016-07-20 19:35:12 +02:00
Troy Dai 5637e0c917 Remove unused using statements 2016-07-14 16:24:48 -07:00
Troy Dai 6cee57752f Update OpenIdConnectSample
1. Add instruction for OpenIdConnectSample
2. Clear unused using statements
3. Hardcoded server URL in `Program.cs`
2016-07-14 15:25:30 -07:00
Troy Dai 61d03b9316 Update OIDC Azure Sample
1. Add set up instructions.
2. Add user secret tools.
3. Clean up codes.
2016-07-11 14:08:27 -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
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
jacalvar e1495f5f32 Remove unncessary usings 2016-06-09 00:48:37 -07:00
Chris R 33b69c14ed React to UriHelper.Encode rename. 2016-06-06 15:15:02 -07:00
Pranav K bffbfc7f9e React to OpenId renames 2016-06-04 18:53:09 -07:00
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