Is it a good practice to store the
sub in a external databse?
I want to provide a controlled resouce access to my application. That means a user can only modify the resources that he created.
I thought of saving the sub field of an accesstoken in the stored document that the user created. So, I can check whether the incoming access_token sub field matches with the one stored in the document.
Thank you in advance