In .Net Core 2.0 using the code as supplied results in an exception, the fix is to pass the scheme name when calling AddCookie.
Fails:
services.AddAuthentication("MyCookieAuthenticationScheme")
.AddCookie
Works:
Fix demo code for services.AddAuthentication.AddCookie
services.AddAuthentication("MyCookieAuthenticationScheme")
.AddCookie("MyCookieAuthenticationScheme",
* 2.0 update for cookie middleware doc
* More changes
* More changes
* More changes
* Replace banned words
* More changes
* More changes
* More changes
* Implement suggestions
* Add Hao's suggestions
* meta data fix
* Revert "meta data fix"
This reverts commit ba36883476.
* meta data fix2
* test
* Update owin-oauth-20-authorization-server.md
* Update api-ref.md
* Update api-ref.md
* test
* test2
* quick test
* quick test
* quick test
* Revert "quick test"
This reverts commit 91b07a3df5.
* Revert "quick test"
This reverts commit e44af19bb4.
* Revert "quick test"
This reverts commit 6872a1921d.
* Removed links to old api site
* Fixed link to H1
* quick fix
* Fixed link to H1
* reverted to match master
* removed random character.
* removed random unix character
* removed random unix character
* removed random UTF character
* removed random UTF character
* removed random UTF character
* removed random UTF character
* removed random UTF character
* removed random UTF character
* Quick fixes
* Update CONTRIBUTING.md
* removed random UTF character
* removed random UTF character
* Update routing.md
* Update validation.md
* Update overview.md
* Update linuxproduction.md
* Update web-publishing-vs.md
* Update sociallogins.md
* Update cors.md
* Update cross-site-scripting.md
* Update overview.md
* Update key-encryption-at-rest.md
* Update adding-model.md
* Update new-field.md
* Update validation.md
* Update first-web-api.md
* Update nano-server.md
* Update your-first-mac-aspnet.md
* Update linuxproduction.md