What is the parameter that I should pass when authorizing user to indicate the idp connection?
HI @mkandasamy,
You should pass in the IdP Connection’s name in the connection query parameter of your login request.
It should look something like the following:
https://{yourDomain}/authorize?
response_type=code&
client_id={yourClientId}&
redirect_uri={https://yourApp/callback}&
scope={scope}&
audience={apiAudience}&
state={state}&
connection=YOUR_IDP_CONNECTION_NAME
If you found this post helpful or interesting, please give it a like
. Your interaction makes a difference. Have a wonderful day! ![]()
Thanks,
Rueben
Thanks Rueben, but I’m looking for a solution in express-openid-connect nodejs library. Like the following:
app.use(
auth({
issuerBaseURL: process.env.AUTH0_ISSUER_BASE_URL,
baseURL: process.env.BASE_URL,
clientID: process.env.AUTH0_CLIENT_ID,
secret: process.env.SESSION_SECRET,
authRequired: true,
auth0Logout: true,
authorizationParams: {
}
//connection: "SampleMultiTenantUI-AzureAD"
})
);
what would be the parameter I can pass in the nodejs middleware object indentifying connection name?
Hi @mkandasamy,
Thanks for following up.
The code snippet you shared is the correct way to pass the connection parameter into your login request.
Thanks,
Rueben