public function getAccessToken($code, $grant = 'authorization_code')
    {
        $token = $this->container->get(RedirectLoginHelper::class)
            ->getAccessToken($code, $grant);
        $this->setAccessToken($token);
        return $token;
    }