Skip to content

Cannot specify the connection for auth providers. #248

@ranseur92

Description

@ranseur92

Package version

9.3.1

Describe the bug

I have a multi-tenant application, with a seperate database for each tenant. using dynamic subdomains

I want to add authentication using a model from the tenant. but it seems I can't specify which connection to use, for fetching the user?

For my specific use-case, the connection would depend on the context / subdomain. so would need to be evaluated at route-level, not via config etc.

Reproduction repo

No response

Metadata

Metadata

Assignees

Labels

Good First IssueWant to contribute? Just filter by this labelType: EnhancementImproving an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions