Currently, I am using drupal as a decoupled implementation for my website. I got login, sign ups, and verification all working.
I am trying to implement the ability to save values (settings) to a custom user field, so that the user can load these values from Drupal and onto their cookies. This is for things like themes, settings, etc.
I have yet to find any comprehensive guide on how to do something like this, but so far I have tried sending a patch request to the user field and I only get back errors.
What is the best way to handle something like this?