You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why all my requests keep going through DomainTenantFinder?
I wanted to create an admin area in our API and started building a login page using blade however as soon I try to access the route /entrada (test name) it attemps to go trought the DomainTenantFinder findForRequest method where we have the API logic.
I tried to return null in the findForFail but the page keeps redirecting.
If I don't type hint the $request in the controller method it works normally, strange or am I missing something??
This discussion was converted from issue #537 on July 18, 2024 15:07.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following route in my web.php:
Then I have the following in my Http/Kernel.php:
Why all my requests keep going through DomainTenantFinder?
I wanted to create an admin area in our API and started building a login page using blade however as soon I try to access the route /entrada (test name) it attemps to go trought the DomainTenantFinder findForRequest method where we have the API logic.
I tried to return null in the findForFail but the page keeps redirecting.
If I don't type hint the $request in the controller method it works normally, strange or am I missing something??
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions