User not registered still logged in
i have a structure of applications and tenants based on registrations, so users must be registered on the application, if he is not registered he will be logged in, but won't be granted access to the Application, but i dont want that, i want that fusionauth reject the user in the login screen like when the password is wrong?
Is that possible?
Sorry to hear you are running into this issue.
What version of FusionAuth you are running and how are you running it? (Docker, AWS, local machine, etc)
It sounds like you would like to have your application configured to require registration to be redirected to the authorized redirect configured for the Authorization Code Grant, as described here, is that correct? https://fusionauth.io/community/forum/topic/1171/where-to-find-the-option-require-registration/2
You mentioned that '...if he is not registered he will be logged in..' You would like users who are not registered to be logged in, is that correct? It is possible to allow unregistered users to log in to your application, as well as block unregistered users from being logged in. Which behavior are you looking for?
Is this the open Github issue you were referencing?: https://github.com/FusionAuth/fusionauth-issues/issues/439
I am running the latest version of FusionAut 1.42.1. I created an application using the Authorization Code Grant and created a user without being registered for my application. I then toggled the
Require Registrationtoggle under
Require Registration. When I attempted to log in to the application, I was given the error "Your account has not been registered for this application.".
What happens when you try to log into your application with a user that is not registered? Is this the same behavior you are looking for? Are you using the hosted login pages or the Login API?
Hopefully, this helps us get you closer to the functionality you need for your application.
i do not want to see that image, I want the user to crash on the login screen if he is not registered to the application and receive a generic error (if I can write the error message is fine for me, but if it says the password is wrong is ok for me).
@johnathon like you see on the capture i am using the login screen.