Is there a sample somewhere (best plain js) with getting the access token from an oauth2 provider after calling authorize?