mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-04-02 13:43:36 +09:00
todo
This commit is contained in:
parent
77ad8c0ac6
commit
b6f6819b76
@ -328,6 +328,8 @@ describe('OAuth', () => {
|
|||||||
code_verifier: code_verifier.slice(0, -10) + 'x'.repeat(10),
|
code_verifier: code_verifier.slice(0, -10) + 'x'.repeat(10),
|
||||||
} as AuthorizationTokenConfigExtended));
|
} as AuthorizationTokenConfigExtended));
|
||||||
|
|
||||||
|
// TODO: pattern 4: no code_verifier
|
||||||
|
|
||||||
// And now the code is invalidated by the previous failures
|
// And now the code is invalidated by the previous failures
|
||||||
await assert.rejects(client.getToken({
|
await assert.rejects(client.getToken({
|
||||||
code,
|
code,
|
||||||
@ -885,4 +887,6 @@ describe('OAuth', () => {
|
|||||||
// TODO: Invalid decision endpoint parameters
|
// TODO: Invalid decision endpoint parameters
|
||||||
|
|
||||||
// TODO: Unknown OAuth endpoint
|
// TODO: Unknown OAuth endpoint
|
||||||
|
|
||||||
|
// TODO: successful token exchange should invalidate the grant token (spec?)
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user