Cannot authenticate using API

LazarescuA
LazarescuA E Community Moderator

Hello,

We have an issue authenticating in the NA-1-DEV environment.

We have reset the client credentials and generated new ones, reset the password at the tenant level, checked the URL's and the tenant ID, still cannot seem to be able to authenticate. I can provide all details (client id, secret, user, password) in order to replicate the issue.


Comments

  • Roger K
    Roger K E Community Moderator
    edited April 25, 2022 #2

    Are you sure the user you are using has access to the application within the tenant? Tenant Admin will automatically be a user of the app - others will not and need to be assigned via the API or via Admin Center.

    Please run the same with a new test application.

  • Eshan K
    edited April 25, 2022 #3

    Hi @LazarescuA ,

    Thank you for reaching out to us.


    Can you please add the Authorization as shown in the below image and give a try




  • Roger K
    Roger K E Community Moderator
    edited April 25, 2022 #4

    Please can you also check your request has the client_id and secret in the authorization headers ...

  • LazarescuA
    LazarescuA E Community Moderator

    Thank you. Tried with Basic authentication also, same result.

    The user is the tenant admin.

  • LazarescuA
    LazarescuA E Community Moderator
  • Roger K
    Roger K E Community Moderator

    Whatever it is it is specific to you configuration as I am able to get a tenant access token on that environment.