Hannah von Reth
c8d1e081c1
Tests: Add test for behaviour on unexpected user in authentication reply
2020-01-24 14:00:43 +01:00
Hannah von Reth
168e062d7c
[Oauth] move oauth refresh to oauth.cpp
2020-01-24 14:00:43 +01:00
Hannah von Reth
e113f8069e
Oauth: Cleanup
2020-01-24 14:00:43 +01:00
Hannah von Reth
d0943439b7
Move oauth from ui -> libsync
2020-01-24 14:00:43 +01:00
Hannah von Reth
a94804c75d
[OAuth] Add state parameter to negotiation
2019-12-16 19:55:40 +01:00
Olivier Goffart
112e78ba94
Support for openid connect
2019-11-20 14:32:57 +01:00
Markus Goetz
dc2a37e813
OAuth2: Better error logging
...
This does not fix a bug, just was found while spotting a bug that was no bug.
For https://github.com/owncloud/enterprise/issues/2951
2019-05-15 09:58:59 +02:00
Olivier Goffart
7029ad1a29
TestOAuth: Don't have global static QObject
...
Fix a strange warning seen on the log from the CI on Windows in
https://github.com/owncloud/client/pull/6621
The test shows, at the beginning
QObject::connect: No such signal DesktopServiceHook::destroyed(QObject*)
And crashes at the and.
My guess is that when QDesktopServices::setUrlHandler is called, the
QMetaObject is not yet initialized
But this is probably not the reason of the crash
2018-06-29 10:57:24 +02:00
Olivier Goffart
4369853ddb
TestSystem: Add QIODevice in the serverOverride function, and add a DelayedReply
...
Preparing to add test that needs the QIODevice.
Also make the DelayedReply so we can generalize the existing delay on FakeChunkMoveReply
to any reply.
2017-12-14 11:56:12 +01:00
Olivier Goffart
0ceb806f1a
Test OAuth2
...
Include a test for PR #6057
2017-09-28 18:38:33 +02:00