claims based identity - Log the logins to the various applications that identityserver manages -


we've got lot of sites common authentication thinktecture identityserver v2.

now have log of logins sites. we've got custom iuserrepository log user login in, how goahead , grab site user loggin into?

and when jump 1 site - how logged

in case there's no built in support this, best place modify code?

it seems done in wsfederationcontroller , in issue method realm based on uri.

 public actionresult issue()     {         tracing.start("ws-federation endpoint.");          if (!configurationrepository.wsfederation.enabled && configurationrepository.wsfederation.enableauthentication)         {             return new httpnotfoundresult();         }          var message = wsfederationmessage.createfromuri(httpcontext.request.url);          // sign in          var signinmessage = message signinrequestmessage;         if (signinmessage != null)         {             // place log current user , application user loggin db???              // or thinktecture have build in functionaltiy this?               return processwsfederationsignin(signinmessage, claimsprincipal.current);         } 

larsi


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -