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
Copy code
{
"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?
r
rp_st
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.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).