default setting


04/24/2023, 4:57 PM
I have two custom third party providers, one for signing in using SAML(using jackson) and another for signing in using Microsoft(azure). I get the following error
  "level": "panic",
  "app": "idp",
  "cmd": "server",
  "error": "The providers array has multiple entries for the same third party provider. Please mark one of them as the default one by using 'IsDefault: true'",
  "time": "2023-04-24T16:53:04Z",
  "message": "could not initialize supertokens"
I was able to make it work by setting one of them as default. I would like to know what does it mean for one of them to be default? Where is this default setting used?


04/25/2023, 6:36 AM
hey @mayankgopronto to make a provider as default means that that provider will be picked if the clientType prop is not passed in the request.