• Can I somehow unblock user who attempted 10 consecutive logins unsuccessfully?

    I am using custom database connection and the user has’t been migrated yet ( He is in wp database but not in Auth0 so I can’t go to Auth0 dashbord Users list to unlock him).

    In Auth0 dashboard logs I have:

    Type	Blocked Account
    
    Description	User (xxx) attempted 10 consecutive logins unsuccessfully. Brute force protection is enabled for this connection, further attempts are blocked from this IP address for this user
Viewing 9 replies - 1 through 9 (of 9 total)
  • @mmki – If you edit the user in Auth0, you can unblock the user with the Actions menu on the top right:

    https://www.dropbox.com/s/muv9phpf5dzs1ad/Screenshot%202018-11-26%2008.31.24.png?dl=0

    Thread Starter mmki

    (@mmki)

    @auth0josh the problem is that this user hasn’t been migrated yet. So there is no such user in Auth0 dashboard. He tries to log in with Auth0 for the first time, but he can’t because of this block.

    I’m a little confused … the error message talks about logins, which seems like they already have an account.

    Can you add this used in Auth0 and have them log in? Use a temporary password, then have them change it in WordPress to sync both accounts.

    Thread Starter mmki

    (@mmki)

    If I try to add him in Auth0 i get the messsage „the user already exists”. I checked the users list searching for him, I checked the records one by one and there is not such user for sure.

    That’s odd … if you go here:

    https://auth0.com/docs/api/management/v2#!/Users/get_users

    … add an API token for the Management API:

    https://auth0.com/docs/api/management/v2/get-access-tokens-for-test#get-access-tokens-manually

    … and list out all the users, do you see this user there?

    Thread Starter mmki

    (@mmki)

    Sorry for long response time.

    I do not see this user on the list.

    No problem!

    Are they still blocked from logging in? It’s possible that the account is stuck somehow but this seems like a common enough situation that if there was a core issue that it would come up more often.

    Last test … can you follow the steps above for the Management token and try to add them via API:

    https://auth0.com/docs/api/management/v2#!/Users/post_users

    You can search specifically for that email address by using the get users endpoint above and use this in the “q” field:

    
    email:"[email protected]"
    

    If you can paste the search and create responses here (should not have any sensitive information if there is an error), then I’ll put through a ticket on our end.

    Apologies for the trouble here!

    Thread Starter mmki

    (@mmki)

    Hi Josh,

    these are responses from the API:
    List or search users:

    
    REQUEST URL
    https://epid.eu.auth0.com/api/v2/users?q=email%3A%22[SENSITIV]
    RESPONSE CODE
    200
    RESPONSE BODY
    []
    RESPONSE HEADERS
    {
      "content-type": "application/json; charset=utf-8",
      "cache-control": "private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
    }
    

    Create a user POST

    
    REQUEST URL
    https://epid.eu.auth0.com/api/v2/users
    RESPONSE CODE
    409
    RESPONSE BODY
    {
      "statusCode": 409,
      "error": "Conflict",
      "message": "The user already exists.",
      "errorCode": "auth0_idp_error"
    }
    RESPONSE HEADERS
    {
      "content-type": "application/json; charset=utf-8",
      "cache-control": "private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
    }
    

    I finally manage to unblock the user using API’s Unblock by identifier, and passing the email.

    I checked that – to repeat that error you should try to log with wrong password at least 11 times.

    Thread Starter mmki

    (@mmki)

    I should add that we have Anomaly Detection > Brute force protection turned on. But unlike it stays on the page we did not receive any email notification.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Blocked Account’ is closed to new replies.