When trying to run sasl-xoauth2-token-tool I am unable to successful specify the output file.
Using the command in the following form -
sasl-xoauth2-token-tool get-token outlook \
--client-id=redacted \
--tenant=redacted \
/etc/tokens/email_address
I get the following error-
sasl-xoauth2-token-tool: error: unrecognized arguments: /etc/tokens/email_address
I have also tried it with the command all on a single line with the same result.
Just noticed the suggestion in Issue #47 to put the output file location ahead of the --client-id and that indeed works for me on the Raspberry Pi OS flavour of Debian.
When trying to run sasl-xoauth2-token-tool I am unable to successful specify the output file.
Using the command in the following form - sasl-xoauth2-token-tool get-token outlook \ --client-id=redacted \ --tenant=redacted \ /etc/tokens/email_address I get the following error- sasl-xoauth2-token-tool: error: unrecognized arguments: /etc/tokens/email_address
I have also tried it with the command all on a single line with the same result.
Any suggestions on what I might be doing wrong?