The application solution which you designed from the app registration portal in your app. Will not use the applying solution in a local app or one website page app simply because a client_secret cannot be reliably stored on equipment or Websites. It's demanded for World wide web applications and Internet APIs, which often can retailer the client_se