Hi,
I try to add custom static parameter to my upstream IDP. I follow this documentation https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps
I can get the option for my connection via the management API.
I add the upstream_params object and try to update the connection by calling:
PATCH url: http://{{auth0_domain}}/api/v2/connections/:id
with the body:
{
"options": {
"scope": "openid scope_all",
"scripts": {
"fetchUserProfile": "function(accessToken, ctx, cb) {\n const profile = {};\n // Call OAuth2 API with the accessToken and create the profile\n cb(null, profile);\n }"
},
"tokenURL": "https://auth.bas.psc.esante.gouv.fr/auth/realms/esante-wallet/protocol/openid-connect/token",
"client_id": "XXX",
"client_secret": "XXX",
"authorizationURL": "https://wallet.bas.psc.esante.gouv.fr/auth",
"upstream_params":{
"acr_values": {"value":"eidas1"}
}
}
}
but this return the same result than the get connection by id without the upstream_params
and the connection is not updated
Any ideas?