You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's quite frustrating that I've lost hours to the incorrect example; your comment was the clue I needed thanks for that. (I usually go straight for the examples...) Anyway I've submitted a PR now: #624
For future searchers, the correct example should be
management.branding.setUniversalLoginTemplate({},{template: "a template"},function(err){if(err){// Handle error.}});
Describe the problem
Trying to update the New Universal Login template using the management client like explained in the docs
https://auth0.github.io/node-auth0/module-management.ManagementClient.html#setBrandingUniversalLoginTemplate
Code snippet of my implementation*
*simplified for reasons.
This throws an error:
ArgumentError: The data must be an object
It does work as expected when calling the endpoint as a plain request:
What was the expected behavior?
The template is updated
The text was updated successfully, but these errors were encountered: