Skip to content

Commit 21520e7

Browse files
committed
fix positional argument order (#55)
1 parent edb5b1a commit 21520e7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ Gmail OAuth tokens. Run the script as follows:
235235

236236
```shell
237237
$ sasl-xoauth2-tool get-token gmail \
238+
PATH_TO_TOKENS_FILE \
238239
--client-id=CLIENT_ID_FROM_SASL_XOAUTH2_CONF \
239240
--client-secret=CLIENT_SECRET_FROM_SASL_XOAUTH2_CONF \
240-
--scope="https://mail.google.com/" \
241-
PATH_TO_TOKENS_FILE
241+
--scope="https://mail.google.com/"
242242

243243
Please open this URL in a browser ON THIS HOST:
244244

@@ -344,9 +344,9 @@ Microsoft OAuth tokens. Run the script as follows:
344344

345345
```shell
346346
$ sasl-xoauth2-tool get-token outlook \
347+
PATH_TO_TOKENS_FILE \
347348
--client-id=CLIENT_ID_FROM_SASL_XOAUTH2_CONF \
348-
--use-device-flow \
349-
PATH_TO_TOKENS_FILE
349+
--use-device-flow
350350
To sign in, use a web browser to open the page https://www.microsoft.com/link and enter the code REDACTED to authenticate.
351351
```
352352

@@ -429,8 +429,9 @@ Microsoft OAuth tokens. Run the script as follows:
429429

430430
```shell
431431
$ sasl-xoauth2-tool get-token outlook \
432-
--client-id=CLIENT_ID_FROM_SASL_XOAUTH2_CONF \
433-
PATH_TO_TOKENS_FILE
432+
PATH_TO_TOKENS_FILE \
433+
--client-id=CLIENT_ID_FROM_SASL_XOAUTH2_CONF
434+
434435
Please visit the following link in a web browser, then paste the resulting URL:
435436

436437
https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize?client_id=REDACTED&response_type=code&redirect_uri=https%3A//login.microsoftonline.com/common/oauth2/nativeclient&response_mode=query&scope=openid%20offline_access%20https%3A//outlook.office.com/SMTP.Send

0 commit comments

Comments
 (0)