Hide admin email and password from code


I am developing a supporting system based on freshdesk with JQuery, so I am calling all freshdesk APIs using ajax method, but the problem is that my email and password are hard coded in my code. How can I do to hide them ? Can we use cookies with freshdesk ? If it's the case how can I handle the CORS problem ?

Thank you !

Login or Signup to post a comment