asp.net core mvc - IdentityServer4 with multiple clients -


i have multiple front facing web apps identityserver4 (micro-service) app, running on .net core mvc. given user may have multiple accounts on each of app1 , app2. once user logs in select account accessing. if user logs in on app1 , selects account, should able log in app2 , select account without losing identity on app1. when returning app1 selected identity should still persist (no re-login required). additionally, if user goes through entire login process on app1, if hit app2 w/o app2 identity, should not have enter initial credentials, go straight account selection.

the issue i'm having once try log user in on app2, lose app1 identity.

things i've tried:

  1. i set separate scopes 2 sites , can manage site gets info, great, doesn't solve overall issue.

  2. i've attempted set separate authenticationschemes sites far has been unhelpful, leading unhelpful "server_error" message (no stack trace, nothing in logs).

does know how accomplish this?

identity server 4 single sign on. once user logged in app1 if hit app2 app1 don't have login again. each client have authenticate itself. authenticating it, middleware automagically(you have configure client tho) , make sure dont share cookies between different clients.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -