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:
i set separate scopes 2 sites , can manage site gets info, great, doesn't solve overall issue.
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
Post a Comment