Use Auth0 login to access user preferences stored in Strapi

System Information
  • Strapi Version: 3.6.5
  • Operating System: OSX - Big Sur
  • Database: Running locally so far but will be MongoDB in prod
  • Node Version: 14.16

I’ve managed to integrate the Auth0 provider to authenticate API requests in Strapi. I get an access token that I’m able to use as a Bearer token on my requests.

But I’m wondering if it’s possible to be able to store a users preferences like whether they prefer dark or light theme etc and extra info such as a user_id in Strapi and let them update it after logging in with Auth0.

The catch is that only that user should have read/write access to their own data.

Are there any docs/guidance available for this kind of thing?