fetchUserProfile script arguments

Hi,

the fetchUserProfile script has three arguments:

function (accessToken, context, callback)

I understand accessToken is OAuth access_token. What about the other two
?
Where I can find their documentation? What these objects contains?

Thanks,

Gualtiero

Hey @gualtiero.testa !

Looking at some of the use cases from Community,
context and callback objects bring to you contextual data about the authentication transaction that precedes the user profile update.

Was not able to track the spec down for it, but a sample usage of the context and callback objects are mentioned in this topic.

Hope this helps!

1 Like

Thanks @marcelina.barycka.

It’s curious that a key functionality like the fetchUserProfile script is not documented by Auth0.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.