I am using REST API for some product insertion process in my Controller File and i will used that Access Token to generate the token.
Is it good to use that on my Live Website Code If not then what is the correct way to insert product using REST API
As I have seen using this API to generate token http://127.0.0.1/magento/rest/default/V1/integration/admin/token but it requirs admin username and password so, i think it is not good to share that password in Code.
So i want just the correct approach to use REST API in my Live Website to generate token.
Any help is appriciated.