I'm using Auth0 for sign in/sign up flow and user has possibility to update his profile information.
In order to do that I'm requesting a token
from auth0 using url 'https://YOUR_DOMAIN/oauth/token'
, sending in payload this sensitive information
data: {
grant_type: 'client_credentials',
client_id: 'YOUR_CLIENT_ID',
client_secret: 'YOUR_CLIENT_SECRET',
audience: 'https://YOUR_DOMAIN/api/v2/'
}
which is in plain text visible in Network Request browser.
This is procedure I'm following is here: https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-access-tokens-for-production
So is possible to hide this payload data which contains this sensitive information? Since with this token you can manipulate users data if you know userID.
Or there is some other way to retrieve token from auth0 before updating profile?
Thank you