Skip to content

Conversation

@Perzan
Copy link
Contributor

@Perzan Perzan commented Apr 29, 2021

This paves the way for more elegant alternatives for attaining a token using a consent URL. Example implementations would not be limited to using a web browser, a pyperclip copy, or a web browser combined with a custom redirect_uri and a temporary HTTP server on localhost.
The default and current consent process function is O365.utils.consent.consent_input_token.

This paves the way for more elegant alternatives for attaining a token using a consent URL. Example implementations would not be limited to using a web browser, a pyperclip copy, or a web browser combined with a custom redirect_uri and a temporary HTTP server on localhost.
The default and current consent process function is O365.utils.consent.consent_input_token.
@Perzan
Copy link
Contributor Author

Perzan commented May 2, 2021

That built-in/default method could probably renamed to "consent_console".

Edit:

  • console_consent
  • terminal_consent
  • tty_consent

@alejcas
Copy link
Member

alejcas commented May 21, 2021

Good addition! But I’m not sure how this will handle two step authentication methods.

@alejcas alejcas merged commit d3a37bb into O365:master May 21, 2021
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.

2 participants