The applying top secret which you designed during the app registration portal in your application. Never use the application magic formula in a local app or one web site application mainly because a client_secret can't be reliably stored on devices or Websites. It's needed for Internet applications and Net APIs, which could keep the client_secret s