abpframework / abpframework/abp
Question regarding DomainTenantResolveContributor
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
-
How does auth with external providers work when you use
DomainTenantResolveContributor? do we have to register new clients with redirect URL for each tenant or is there a way to reuse the single client with all the tenant? right now external auth fails when you useDomainTenantResolveContributorbecause the redirect URI will be wrong. -
Does the Domain resolver work in localhost? if not how can I achieve it?
Here is what I have tried as of now.
Configure<AbpTenantResolveOptions>(options =>
{
options.TenantResolvers.Insert(1, new DomainTenantResolveContributor("{0}.localhost:44311"));
});
and this
options.AddDomainTenantResolver("{0}.localhost:44311");
Both options didn't work for me.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with DomainTenantResolveContributor, Configure, and AddDomainTenantResolver using the localhost examples in the issue. Trace how tenant resolution affects external-auth redirect URIs, then document the supported behavior for per-tenant clients, shared clients, and localhost; done means the issue's questions have a clear, reproducible answer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authentication, backend
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100