Example #1
0
        public async Task <RedirectResult> Callback(string code)
        {
            var user = await _spotifyService.AuthorizeUser(code);

            await _signInManager.SignInAsync(user, true);

            return(Redirect("Discovery"));
        }