The applying solution you developed inside the application registration portal for the app. You should not use the application key in a local app or one page app simply because a client_secret cannot be reliably stored on devices or web pages. It is demanded for web apps and Net APIs, which often can retail store the client_secret securely to the s