The application solution that you simply made within the app registration portal in your application. Do not use the appliance solution in a local application or one page app due to the fact a client_secret cannot be reliably saved on products or Web content. It is really required for Net apps and Internet APIs, which might store the client_secret