The applying top secret you designed inside the application registration portal in your app. Don't use the appliance magic formula in a local app or one web page application for the reason that a client_secret can't be reliably saved on units or Web content. It is expected for Net apps and Website APIs, which may retailer the client_secret securely