Is it possible to connect to different DB's (both mysql) with Laravel depending on the authentication method of the user?
Example:
- User A : authentication method: web --> DB1
- User B : authentication method: API --> DB2
Is it possible to connect to different DB's (both mysql) with Laravel depending on the authentication method of the user?
Example: