Closed jonashendrickx closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 61.39%. Comparing base (
075653a
) to head (ccd9d8d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is a multi-tenancy example allowing you to use different API secrets or private API keys per subdomain.
It uses:
IHttpClientFactory
PasswordlessClient
For a domain
passwordless.local
, you would then have tenants:Where the tenants are:
And then resolves the tenant from the incoming request using
IHttpContextAccessor
. And retrieves required private API key or API secret fromappsettings.json
accordingly.