Dynamic Authentication #4932
Unanswered
kamleshvisvkarma
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can we send value in signIn function to Azure Active Directory or Google Provider ...
Or if we want to send clientId and clientSecret based on the response of API without giving clientId and clientSecret in process.env, can we send
suppose api response is
1 case - data = {
clientId = "34567890-98765432",
clientSecret="ASDASVTTDBNSSSSSBDDD",
sorceType="google"
}
2 case - data = {
clientId : "34567890-98765432",
clientSecret:"ASDASVTTDBNSSSSSBDDD",
tenantId:"9876556789023
sorceType:"azure-ad"
}
and singIn(
${data.sourceType}
) --- calling provider using sourceTypee (right)I want to use the data of both the above cases on the basis of singIn(
${data.sourceType}
) , can I do so?Beta Was this translation helpful? Give feedback.
All reactions