I am trying to pass custom param to rules from Auth0 lock using the below code:
params: Object.assign(config.internalOptions, {
language: window.navigator.userLanguage || window.navigator.language
})
and in rules I am trying to fetch it like context.request.query.language
Now the issue is, if a user logged in from Auth0 database then I can find language param in rule but if a user logged in using enterprise connection e.g “ADFS” then I can’t find language param in rules. So is there any way to pass custom param to rules in case of enterprise connections?