lee_uk
lee_uk
KKinde
Created by lee_uk on 8/7/2024 in #💻┃support
.Net oidc switch organisation
Hi, using asp.net oidc. No SDK. Inital login working fine. I want to switch the organisation after login: using props = new AuthenticationProperties() { Items.Add(new KeyValuePair<string, string?>("org_code", "ORG_ID HERE")); } await context.ChallengeAsync(OpenIdConnectDefaults.AuthenticationScheme, props); Which does login, however the access token contains the orignal org_code and permissions not the newly selected one - any pointers?
6 replies