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

Persistent session in ASP.Net core
IMemoryCache issues, cannot convert to string?
Supporting Roslyn Analyzers(.ruleset) in Visual Studio 2017 .NET Core Projects
Auto detect kestrel process when attaching vs code debugger
Using the latest CLI with .NET Core dotnet
Vulnerabilities in .NET Core, ASP.NET Core Could Allow Elevation of Privilege
Attribute routing to controller action isn't working in ASP.NET Core
Is there any way to “Hot Publish” a .NET Core application?
How to setup Mock of IConfigurationRoot to return value
DotNet Core add dependecy in VS 2017
Scoped properties for Application Insights
Generate a class from xsd file in net core
folder structure of .net core web application between vs2017 and vs2015
Component in different Areas, Change default search location
No executable found matching command dotnet-projectmodel-server, VS2015
Class library lost intellisense in VS2017 after .NET Core MVC auto-migration

Categories

HOME
compiler-construction
osgi
image
hook
cookies
server
plone
session
sd-card
kalman-filter
frameworks
packages
ojdbc
pivotal-cloud-foundry
swagger-ui
medical
user-input
kentor-authservices
mapserver
google-apps-marketplace
circuit
windows-7-x64
footer
sms-gateway
scichart
nas
object-detection
ehcache
chromium-embedded
virtualdub
elasticsearch-net
quote
gsmcomm
r-raster
sql-server-2012-express
iframe-resizer
galsim
catch-all
picasso
nssegmentedcontrol
wixsharp
adobe-premiere
jquery-bootgrid
retina-display
automake
libvpx
squib
awt
ws-security
heightmap
gpx
smartcontracts
jquery-validate
jlink
crypt
np-complete
flow-control
hittest
redundancy
chord-diagram
smart-table
background-service
specrun
nested-sets
url-pattern
httplistener
savon
skobbler-maps
django-debug-toolbar
simplewebrtc
ubuntu-10.04
qgraphicsview
ipconfig
freedesktop.org
google-places
intellij-14
security-testing
dukescript
embedded-code
ionic
service-accounts
event-bubbling
unity5.2.3
key-management
android-nested-fragment
codeigniter-routing
document-classification
has-many-through
datagridviewcolumn
floating-point-precision
ora-00911
cos
lcs
kyotocabinet
sublist
mt
dice
runas
word-processor
datawindow
labwindows
parametric-equations
buildr
tomcat-valve
netbeans-7.1
calling-convention
winbugs14
blitz++
infrastructure
firefox-5
nintendo-ds
backcolor
xetex
phonon
premature-optimization
post-build

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