Schema for external database

Hey Guys, So I have used Auth0 (gmail auth) in my React project. Now I want to store it in an external database. But I want to customise the schema of the database as I don’t just want details present in “users” that we get upon logging in, but I want to add more details that are not present. How do I customise the schema of my external database?

Hi @pritisingh51201

Welcome to the Auth0 Community!

Customizing the database schema will rely on properly designing it with keeping in mind that for database to work properly with Auth0 need to have appropriate fields

Make sure that your database has the appropriate fields to store user profiles attributes, such as id , nickname , email , and password . To learn about Auth0’s user profile schema, read Normalized User Profiles. To learn more about updating user profiles, read Update User Profiles Using Your Database.

You can read more about custom database here

Thanks
Dawid

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