Ejemplo n.º 1
0
        public async Task <IActionResult> Callback(string code)
        {
            var user = await _authenticationService.RequestRefreshAndAccessTokens(code);

            _playbackService.SetUser(user);
            _token = user.access_token;
            return(RedirectToAction("Index", "Quiz"));
        }