1

I am using the ProxyProvider aspnet mvc sample project to add SSO as well as MGT Toolkit to my application, the sample can be found here

In App_Start > startup.auth.cs, I've extended the boiler plate action OnAuthorizationCodeReceivedAsync, to add properties to the CachedUser class, which is defined in the TokenStore > SessionTokenStore.cs

OnAuthorizationCodeReceived

SessionTokenStorage - CachedUser class

I would like to be able to access the properties from cachedUser but can't seem to access these anywhere unless I create a new instance of SessionTokenStore, but it seems counterintuitive to have to create a new idClient everytime when all this is already done on startup.

Is there any way to access these properties on CachedUser? My current workaround looks like this, but it seems to be causing issues as users are being "timed out" prematurely.

How I'm trying to access cachedUser currently

0 Answers0