IT and Development
Auth0
12min
with auth0 modules in make, you can create, monitor, update and search for users in your auth0 account and make api calls to get started with auth0, create an account at auth0 com connect auth0 to make to make a connection you need to create an application in your auth0 account and retrieve the credentials log in to your auth0 account click applications in the left hand menu, then click applications in the drop down click create application choose a name for your new app select the machine to machine app type, then click create select the api you want to authorize for invocation from your application you can also create a new api select any permissions you need, then click authorize once you have created your app, click settings under basic information , copy the domain , client id , and client secret to your clipboard go to your make make and choose the auth0 module you want to use next to connection , click add give your connection a name copy the domain url from step 9 into the corresponding field for example, if your auth0 domain is vasyapupkin eu auth0 com then use https //vasyapupkin eu auth0 com copy the client id and client secret into their respective fields click save you have successfully established the connection auth0 modules users watch users triggers when a new user is created field description connection establish a connection to your auth0 account query enter any search terms to filter the results limit enter the maximum number of users make returns during one make execution cycle create a user creates a new user field description connection establish a connection to your auth0 account connection select the type of connection you want to use email address enter the user's email address phone number enter the user's phone number only valid for users from sms connections user metadata add any additional data related to the user blocked select whether this user was blocked by an administrator or not email verified select whether this email address is verified or unverified user will receive a verification email after creation if email verified is no or not specified phone verified select whether this phone number has been verified or not app metadata add any additional data related to the user given name enter the user's given name(s) family name enter the user's family name(s) full name enter the user's full name nickname enter the user's nickname picture enter a uri pointing to the user's picture user id enter the external user's id provided by the identity provider password enter the initial password for this user mandatory only for auth0 connection strategy verify email select whether the user will receive a verification email after creation or no email overrides behavior of email verified parameter username enter the user's username only valid if the connection requires a username search users searches for specific users or lists them all field description connection establish a connection to your auth0 account search enter any search terms to filter the results limit enter the maximum number of users make returns during one make execution cycle update a user updates a user by id field description connection establish a connection to your auth0 account user id select the id of the user you want to update email address enter the user's email address phone number enter the user's phone number only valid for users from sms connections user metadata add any additional data related to the user blocked select whether this user was blocked by an administrator or not email verified select whether this email address is verified or unverified user will receive a verification email after creation if email verified is no or not specified phone verified select whether this phone number has been verified or not app metadata add any additional data related to the user given name enter the user's given name(s) family name enter the user's family name(s) full name enter the user's full name nickname enter the user's nickname picture enter a uri pointing to the user's picture user id enter the external user's id provided by the identity provider password enter the initial password for this user mandatory only for auth0 connection strategy verify email select whether the user will receive a verification email after creation or no email overrides behavior of email verified parameter username enter the user's username only valid if the connection requires a username delete a user deletes a user by id field description connection establish a connection to your auth0 account user id enter the id of the user you want to delete get a user gets a user's details by id field description connection establish a connection to your auth0 account user id enter the id of the user you want to retrieve search users by email searches users by email field description connection establish a connection to your auth0 account fields select the data you want make to return in the results include fields select whether specified fields are to be included ( yes ) or excluded ( no ) email enter the email address of the user limit enter the maximum number of users make returns during one make execution cycle other make an api call performs an arbitrary authorized api call field description connection establish a connection to your auth0 account url enter a path relative to https //auth0 com/api/ for example v2/connections method select the http method you want to use get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry headers enter the desired request headers you don't have to add authorization headers; we already did that for you query string enter the request query string body enter the body content for your api call example of use list users the following api call returns a list of all the users in your auth0 account url /v2/users method get matches of the search can be found in the module's output under bundle > body our example returned 2 users for the list of available endpoints, refer to the auth0 api documentation https //auth0 com/docs/api