summaryrefslogtreecommitdiffstats
path: root/test/data/auth/cancel.auth-script
blob: a99c61286fa3e00e11d0f4c6ec8d0855f1e205c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## this tests canceling EXTERNAL

SERVER
SEND 'AUTH EXTERNAL USERID_BASE64'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'CANCEL'
EXPECT_COMMAND REJECTED
EXPECT_STATE WAITING_FOR_INPUT

## now start over and see if it works
SEND 'AUTH EXTERNAL USERID_BASE64'
EXPECT_COMMAND OK
EXPECT_STATE WAITING_FOR_INPUT
SEND 'BEGIN'
EXPECT_STATE AUTHENTICATED