asp.net-core


Possible to persist additional claims on ClaimsPrincipal


I'm using asp.net core/OpenIdConnect/Cookies authentication.
I can add custom claims to the ClaimsIdentity in the TokenValidated event and these persist fine.
However there is an additional code path when I can only add the claims to the ClaimsIdentity as part of a Controller POST action.
However these additional claims are not persisted and lost for the next request.
Is this actually possible to get these claims persisted - without forcing a login?
Thanks, Donal

Related Links

ASP.Net 5 Logging in Class Libraries
Error when publishing ASP.NET 5 RC1 project from Visual Studio Team Services with hosted build agent
How to register OData with ASP.NET 5
OmniSharp.Dnx.DnxPaths The specified runtime path 'default' does not exist
What does compilationOptions.emitEntryPoint mean?
Set IHostingEnvironment.IsDevelopment() to true in VS Code on OSX
System.InvalidOperationException : Migration failed
ASP.net 5 Site Deployed to Azure with Defaults hangs
“Path too long” when publishing asp.net 5 from Visual Studio 2015
Cannot use nuget package System.Net.Http.WinHttpHandler -
EF 7 Beta 8 -> EF7 RC1 - No longer can create migrations
Retrieve connection string to Azure storage in ASP.NET 5 / MVC 6
RedirectToAction gets ignored
OnAuthenticationCompleted in ASP.NET 5 RC
How to cache static content using ASP.NET 5 and MVC 6?
Where can I find the lastest EF7 change documentation?

Categories

HOME
amazon-ec2
cookies
isabelle
mediawiki
vmware
jsrender
cakephp-2.5
sqlite3
flyway4
onelogin
virtualization
nano-server
collectd
visual-studio-2005
opentracing
foselasticabundle
riot.js
orleans
dxf
crosstab
fish
selectedindexchanged
url-scheme
phpfox
typo3-6.2.x
elasticsearch-net
compatibility
windows-server-2000
librato
binary-data
catel
restlet
serve
theano.scan
android-tabhost
http-live-streaming
outlook-2013
upstart
sage-one
fancybox-2
yii2-extension
brightcove
r-forge
pillow
pdfclown
iso8601
lync-client-sdk
heidisql
bonobo
plottable.js
player
ipconfig
phpcas
sdhc
cannon.js
jqgrid-formatter
ibaction
mono-embedding
sniffer
dundas
streambase
sorl-thumbnail
tween
gui-test-framework
applescript-objc
xojo
message-driven-bean
c18
quantlib-swig
commoncrypto
soundtouch
ril
buster.js
enterprisedb
coderush
viewswitcher
online-compilation
pendrive
pydot
blackberry-playbook
tomcat-valve
cinema-4d
netbeans-7.1
digest-authentication
vc90
nintendo-ds
audio-capture
scripting-languages
signal-handling
misv

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App