-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors returned when valid login sent. #37
Comments
Can you provide an example login request and response? |
I may have run into this issue today. If you have multiple application and you make a request without an application Id I would get a Code that returns a TenantIdRequired errors:
Simply remove the comment and add the applicationId and everything works as expected. @robotdan This may be more of an issue with FusionAuth I'm not sure but if you point me in the right direction I can report this there. |
@j-wil this looks to be working as designed. A tenant is a namespace, so if you have more than one tenant, the Once you remove the Once you have more than one tenant, you will need to provide a |
@robotdan I'm new to FusionAuth so I may be confused but I currently have 1 tenant and 2 applications so when the tenantId required error came back I wasnt sure how to remedy the situation. Then according to the docs the applicaiton id is not required but recomended for most applications so I added the application id and no longer recieved the tenentID error. I guess the confusion is I got a tenantID required error but the remedy was populating the applicationID. |
There is a scenario where you have a multiple tenantId and the user you're logging into belongs a tenant that you're not passing in. so for example if you have a user set up on the default tenant. |
@j-wil If I understand correctly, you have a single tenant, and you are still seeing this error? That would be an error. Please confirm, and verify the total tenant count. Thanks! |
@robotdan My apologies for taking so long to wrap back around on this but it appears I was wrong we did have 2 tenants in Fusion thus it makes complete sense that the appID is required in the request. Thanks for taking the time to respond and work with me on this. From my perspective, this is a non-issue but I'm not sure if the OP is satisfied or not. |
Thanks for the update @j-wil happy to assist. |
Hello,
I am trying to send a LoginRequest to FusionAuth, with valid data I have tested. However, it returns an empty map.
&{map[] []}
It has only started doing this when I updated to FusionAuth 18.
The text was updated successfully, but these errors were encountered: