<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: evoq</title>
    <description>The latest articles on DEV Community by evoq (@abd2lp).</description>
    <link>https://dev.to/abd2lp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F489346%2F8f26e56a-38da-4019-9240-6aba667e9df4.jpg</url>
      <title>DEV Community: evoq</title>
      <link>https://dev.to/abd2lp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abd2lp"/>
    <language>en</language>
    <item>
      <title>Auth0: How to add custom properties to UserObject?</title>
      <dc:creator>evoq</dc:creator>
      <pubDate>Wed, 14 Oct 2020 10:04:17 +0000</pubDate>
      <link>https://dev.to/abd2lp/auth0-how-to-add-custom-properties-to-userobject-21c4</link>
      <guid>https://dev.to/abd2lp/auth0-how-to-add-custom-properties-to-userobject-21c4</guid>
      <description>&lt;p&gt;Hello dear community,&lt;br&gt;
i don't know much about Auth0 and need help. And I wonder how to add my own properties when creating a user. just for info i have connected Auth0 to my own MongoDB atlas database.&lt;/p&gt;

&lt;p&gt;i want to add a &lt;strong&gt;customId&lt;/strong&gt; when creating a user, and this should be a 16-digit random number.&lt;/p&gt;

&lt;p&gt;And my userObj should then look something like this:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
_id: ObjectId("5f720126054c87001662a138"),
connection:"MongoDB"
client_id:"zoClZ3gZE56iwblHXQ1vgwEcLfYr81Bx"
email:"gustek@gustek.com"
username:"gustek"
password:"$2b$10$dE69gGsDqVfWtmnXZ6EaKetILU"
tenant:"dev-test"
email_verified:false
!!!customId:"9829539769841530"!!!
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I mean I found something in the documentation but I do not know how to implement it:&lt;br&gt;
&lt;a href="https://auth0.com/docs/users/set-metadata-properties-on-creation"&gt;https://auth0.com/docs/users/set-metadata-properties-on-creation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do I have to do it over this surface?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wQoFv7bI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2ax0fd6so08eknfvpiei.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wQoFv7bI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2ax0fd6so08eknfvpiei.png" alt="Surface"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As I said before, I have no idea how I could achieve this. I am grateful for every answer!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>webdev</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
