I am learning to use ERPNext and tried to generate an api key and secret today but I think a server script of mine blocked/distracted me from the popup containing the secret and now I am tring to figure out how to get the message to repeat.
Any ideas about how to recover my API secret?
If you have access to bench --site <sitename> console
and you lost api_secret for user@example.com
, enter console and execute following:
frappe.get_doc("User", "user@example.com").get_password("api_secret")
3 Likes
If you haven’t used those API credentials anywhere yet, you can generate new API secret by clicking “Generate Keys” button again.
1 Like