The application solution that you just developed while in the application registration portal to your application. Will not use the application magic formula in a local application or single web page app simply because a client_secret cannot be reliably stored on products or web pages. It really is necessary for Website apps and World-wide-web APIs