Skip to content

Add support for XOAUTH2 - #6819

Merged
ChristophWurst merged 1 commit into
mainfrom
enhancement/xoauth2-support
Jul 1, 2022
Merged

ChristophWurst merged 1 commit into
mainfrom
enhancement/xoauth2-support

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Jul 1, 2022 •

Copy link
Copy Markdown
Member

This is the foundation for #6454 and #6591.

You can now add an account via CLI if you know the OAUTH access token. Horde will successfully authenticate using the token.

The process of acquiring the token will be specific to each service. We will have to implement those parts for Google and Microsoft.

@miaulalala miaulalala left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you not need to save the auth method in the DB?

Comment thread lib/Command/CreateAccount.php
@ChristophWurst

This comment was marked as resolved.

@ChristophWurst
ChristophWurst marked this pull request as ready for review July 1, 2022 13:55

@miaulalala miaulalala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! This is just for occ at the moment, right?

Comment thread lib/Command/CreateAccount.php Outdated
@ChristophWurst

Copy link
Copy Markdown
Member Author

LGTM! This is just for occ at the moment, right?

Yes! #6819 (comment)

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants