I would like to get token for some security reason.
Is it possible to do that via entrypoint or do you have another solution?
Sugar 7.6 Ent
You can get AccessToken using;
Important: You shouldn't keep/store this value anywhere except your browser storages! So, for your security you shouldn't keep/store the token in the fields.
Developer Support Engineer
If you really need this, I don't recommend to customise but you can customise/override /oauth2/token POST endpoint. (It looks to me only solution so far). You can have it somewhere before return it.
Thank for your advice.
If I want to get token via js in custom fields.
How to do?
I have custom field like this.
Its work thank you very much
Retrieving data ...