mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Refactor auth flow
Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow
This commit is contained in:
@@ -137,7 +137,7 @@ describe('Test external auth plugins', function () {
|
||||
|
||||
await loginUsingExternalToken(server, 'cyan', externalAuthToken, HttpStatusCode.BAD_REQUEST_400)
|
||||
|
||||
await waitUntilLog(server, 'expired external auth token')
|
||||
await waitUntilLog(server, 'expired external auth token', 2)
|
||||
})
|
||||
|
||||
it('Should auto login Cyan, create the user and use the token', async function () {
|
||||
|
||||
Reference in New Issue
Block a user