In redwood, the method getToken
is wrapped in ApolloLink
, which is called for every query
and mutation
. I just wonder that is this necessary? as this may raise the commutation load significantly.
Yeah, it’s especially noticeable with dbAuth where it actually needs to go back to the server for each getToken
call, whereas the other auth providers just look in LocalStorage. We’ve got an issue for this here
1 Like
Thx for reply!