anurag.tyagi的活动

Yes, I changed that file as well, but I am still encountering the same error. Can you please point out the configuration that will allow OpenIddict to hook the issuer from the subdomain?

From the documentation, it seems like this should achieve that:

// using Volo.Abp.OpenIddict.WildcardDomains

PreConfigure<AbpOpenIddictWildcardDomainOptions>(options => 
{
    options.EnableWildcardDomainSupport = true;
    options.WildcardDomainsFormat.Add("https://{0}.api.mydomain.com");
});

I have included this configuration as well, but the issuer still defaults to the main domain of the backend (api.mydomain.com) instead of the subdomain (tenant.api.mydomain.com).

Is there any other setting or configuration that I might be missing to ensure the issuer includes the tenant name in the subdomain?

I checked it and tried to include changes from https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/OpenIddict/NG/aspnet-core/src/BookStore.HttpApi.Host/BookStoreHttpApiHostModule.cs to my project, however, I still get the same result and the issuer is still wrong. from the commit history, I don't see if there are more changes to be done, maybe you can give a hint about which files to look?

Hi,

Thanks for your quick response.

I also found that example and based on my comparison, it seems like I have a similar setup (nevertheless the the example version I below my current version).

ah I see, thanks for that info. How can we override the form? Any hints would be appreciated.

Thanks for the support.

显示 14 个条目中的 11 到 14 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11