Subscriptions Authorization
Learn how to authorize the subscription in GraphQL.
We'll cover the following...
Interesting challenges in authorization
While we’re on the subject, subscriptions pose some interesting challenges with respect to authorization. For example, we run into some trouble with the new_order
field straight away because it uses a “*
” topic. Right now, every customer who subscribes is going to get pushed information about everyone else’s order. This might prove to be inconvenient. ...