strongloop-archive / strong-gateway-demo

DEPRECATED | Our new gateway product is available at https://github.com/strongloop/microgateway.
Other
35 stars 34 forks source link

User object in the gateway architecture #2

Closed Guit closed 9 years ago

Guit commented 9 years ago

Hi

I have carefully study this schema : Image of gateway

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...

crandmck commented 9 years ago

Questions such as this are more appropriate for the LoopBack group/forum: https://groups.google.com/forum/#!forum/loopbackjs. Can you please ask your question there instead?

Guit commented 9 years ago

ok no problem :)

crandmck commented 9 years ago

Thanks! See https://groups.google.com/forum/#!topic/loopbackjs/BwmH55XbQFE.