Base solution for your next web application
Open Closed

Authenticate call from POSTMan getting failed. #9099


User avatar
0
NIVID created

Hi , I have multitenancy enabled for the application, and making the authentication call from the POSTMAN. However, the call is getitng failed with 401 UnAuthorized error.

Headers:

However when i connect to the same database from my Local machine and executing the API from my Local environment, the call from the POSTMAN is working fine.


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @NIVID,

    1. Are those apps use the same database ?
    2. Did you unlock the user for the first case ?

    Thanks,

  • User Avatar
    0
    NIVID created

    Hi,

    1. Yes, they use the same database.
    2. Yes, i did unlock the user.
  • User Avatar
    0
    NIVID created

    Hi, I'm able to get the proper response for the Host Login but not for the Tenant Login while execute the POSTMAN call for the server URL.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @NIVID,

    Could you share records on your AbpUsers Table with [email protected] via email ? Please also send the name fo the tenant with Id=2.

    Thanks,

  • User Avatar
    0
    NIVID created

    Hi, Sent a mail with the requested info.

    Thank you.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks,

    We can continue via email.