mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +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));
|
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)
|
public ImplicitGrantAuthController(IHttpContext context) : base(context)
|
||||||
|
Loading…
Reference in New Issue
Block a user