mirror of
https://github.com/expo/node-auth0.git
synced 2026-11-15 17:36:38 -10:00
11 lines
278 B
JavaScript
11 lines
278 B
JavaScript
var token = '{YOUR_API_JSON_WEB_TOKEN}';
|
|
var auth0 = require('..')({ token: token });
|
|
|
|
auth0.users.updateUserMetadata('google-oauth2|1234', {
|
|
hobby: 'surf',
|
|
theme: 'green'
|
|
}).then(function(body){
|
|
console.log('Body', body);
|
|
}).catch(function(err){
|
|
console.error(err);
|
|
}); |