If you want to deny them from logging in, The best way would be to use a 3rd party access management system and deny their access using your IAM system instead of discourse.
If you want to deny them from logging in, The best way would be to use a 3rd party access management system and deny their access using your IAM system instead of discourse.