mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Redirect window says "can be closed now". So why not let javascript do the job? ;-) (#334)
This commit is contained in:
parent
c6de994f91
commit
ee8af2510a
@ -55,7 +55,7 @@ namespace SpotifyAPI.Web.Auth
|
||||
}
|
||||
|
||||
Task.Factory.StartNew(() => auth.TriggerAuth(token));
|
||||
return this.StringResponseAsync("OK - This window can be closed now");
|
||||
return this.StringResponseAsync("<html><script type=\"text/javascript\">window.close();</script>OK - This window can be closed now</html>");
|
||||
}
|
||||
|
||||
public ImplicitGrantAuthController(IHttpContext context) : base(context)
|
||||
|
Loading…
Reference in New Issue
Block a user