Please include the following information in your post:
- Which SDK this is regarding: lock
- SDK Version: e.g. 11.32.2
- Platform Version: N/A
I’m using the Auth0LockPasswordless in the Universal Login customization page.
I have something like this:
var language = config.extraParams.lang || "en";
var authParams = {
...,
language: language,
}
var lock = new Auth0LockPasswordless(config.clientID, config.auth0Domain, authParams);
lock.show();
This works fine for the widget and I get the proper language displayed based on the language parameter. I’m having issues with the passwordless email, however.
Accordingly to the docs here, we can send the header x-request-language and it will inject the request_language parameter… The problem is that the header is not being injected by lock.
I also didn’t find any way in the docs to inject the header while using the widget.
Can someone assist?
Regards,
Uillian