There is a point I don't understand : which server take care of the user ?
As I have understand it's the authorization server (here localhost:3005). But on my resource server (here 3002) I need to know who is my user: for exemple give the note that belong to me, or give me the note that belong to my role.
Should I share a model between the different server? Especially in our case, we will inherit from the User Model
It's not very clear in my mind how the user exist in the different entity of the architecture...
Hi
I have carefully study this schema :
There is a point I don't understand : which server take care of the user ? As I have understand it's the authorization server (here localhost:3005). But on my resource server (here 3002) I need to know who is my user: for exemple give the note that belong to me, or give me the note that belong to my role. Should I share a model between the different server? Especially in our case, we will inherit from the User Model
It's not very clear in my mind how the user exist in the different entity of the architecture...