Sync resources and accept access_token in the query