Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't require client-secret for outlook token requests #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jrollins
Copy link
Contributor

@jrollins jrollins commented Jun 9, 2023

Closes #64

This PR also includes a patch to fix a bunch of PEP8 violations in this script. I can drop that patch if desired.

Not all outlook token requests require secrets be provided, and in
fact in these cases the requests will fail with a 401 error if a
secret is provided.  This patch fixes this issue to not require the
client-secret argument for outlook.

A prompt will now only be provided if the argument to the
--client-secret option is ":".

closes tarickb#64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sasl-xoauth2-tool get-token requires password, breaks some outlook token requests
1 participant