OAuth: Redirects to the server in case of sucessfull login
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 3 Jul 2017 12:51:20 +0000 (14:51 +0200)
committerOlivier Goffart <olivier@woboq.com>
Tue, 11 Jul 2017 07:56:04 +0000 (09:56 +0200)
commitd34dbbdb0bc58700b0f9bb4e1ed3f9c62c6eab3d
tree380b06b9a2f128a0a46883b16d2e495f93e31ae7
parent1c9b51c330932171b82166cf97dea9d8be15f9b4
OAuth: Redirects to the server in case of sucessfull login

Requires https://github.com/owncloud/oauth2/pull/45

This commit moves the reply after we got the token reply from
the server, that allows to reply with an error to the browser
if the login does not work.
src/gui/creds/oauth.cpp