Ok, no problem. Glad to hear it isn't a permanent plan!
It looks like it was a bug with an older version of ABP Studio 6.6 or something. Uninstalling and reinstalling ABP Studio entirely fixed the problem (WITHOUT having to add that VoloAbpCommercialSuiteTemplatesModule module to by sub project. Perhaps this could be refunded...
ABP studio 6.6 wasn't updating correctly even though it would repeatedly install the latest update the old version was still there hidden. Confusing.
Sorry which module are you talking about? This is a custom sub module I am trying to edit. I have tried building first. Modular monolith design. This seems like a bug.
You're the best!!
I removed the CustomLogoutModel and instead added options.Prompt = "select_account"
to ConfigureAuthentication().
sAuth.AddOpenIdConnect("AzureAD", "Microsoft/365", options =>
{
options.Authority = "https://login.microsoftonline.com/" + configuration["auth:AzureAd:TenantId"] + "/v2.0/";
options.ClientId = configuration["auth:AzureAd:ClientId"];
options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
options.CallbackPath = configuration["auth:AzureAd:CallbackPath"];
options.ClientSecret = configuration["auth:AzureAd:ClientSecret"];
options.RequireHttpsMetadata = false;
options.SaveTokens = true;
options.GetClaimsFromUserInfoEndpoint = true;
options.Scope.Add("email");
options.Prompt = "select_account";
options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub");
}
And now it allows me to easily select a different account each time I "login" with AzureAD. Perfect! Thanks.
Nor did this. I'm missing something
var callbackUrl = "https://login.microsoftonline.com/" + configuration["auth:AzureAd:TenantId"] + "oauth2/v2.0/logout?post_logout_redirect_uri="
+ UrlEncoder.Default.Encode(configuration["App:SelfUrl"] + "/Account/Logout");
I hope this gets resolved faster next time!!
24 hour issue support for ABP servers. :)
I'm afraid everyone is asleep who can fix things...
(Same issue/concern here.)