KindeK
Kinde2y ago
5 replies
lee_uk

.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?
Was this page helpful?