• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
  1. Home
  2. Tags
  3. disable
Log in to post
  • All categories
  • J

    Solved Disable email and password logins

    Q&A
    • disable login idp sso • 14 Sept 2022, 19:34 • johnathon 14 Sept 2022, 19:54
    2
    0
    Votes
    2
    Posts
    1.9k
    Views

    J 14 Sept 2022, 19:54

    @johnathon

    One approach would be to append the parameter idp_hint to the login URL to redirect a user to the appropriate IdP login page. Please read the hints section in our documentation for more information.

    Another way to disable the password and email login for a user would be to set their password to a random 25-character string. This would make the password essentially impossible to brute force and thus impossible for them to log in via the hosted login page.

  • D

    How can I disable a user without deleting them?

    Q&A
    • user disable • 8 Feb 2021, 20:57 • dan 8 Feb 2021, 20:59
    2
    0
    Votes
    2
    Posts
    1.4k
    Views

    D 8 Feb 2021, 20:59

    You can use a 'soft delete'.

    Whenever you delete a user with the API without using hardDelete=true, the user is not able to login, but will still be visible in the API and the management UI.

    See https://fusionauth.io/docs/v1/tech/apis/users/#delete-a-user for more.