WIP: Adding Office 365 login support using Azure Active Directory OAu… - #8248
WIP: Adding Office 365 login support using Azure Active Directory OAu…#8248vinhub wants to merge 1 commit into
Conversation
…th2 provider and related changes The code is working, but it is WIP because we have a couple of issues that we would like to get reviewed: 1. Python social auth currently does not have support for Azure AD provider. We have sent a PR to them for that in parallel and it is currently being reviewed. But this means that in order for edX to use Azure AD provider, you have to upgrade to the new version of python social auth. In this PR, we are pointing to a version of python social auth with our changes since our PR has still not been merged in. Note that python social auth 0.2.x may have some backward compatibility issues with 0.1.x version and we noticed one and have added a patch to edX code for that. (We noticed these issues with Google’s provider also.) We will update the PR after python social auth people have merged our changes and also you have reviewed our patch to edX to make them work. 2. We need to show an “Office 365” icon in the login button but there is no FontAwesome icon glyph for Office 365. So we have added support for png icons. Also, since in our case the provider name is AzureAD and login name is Office 365 (with a space in it), we have added a UINAME property in addition to NAME property in the provider and adjusted various pieces of UI that use them. We have made sure the other providers NAME and UINAME are the same, so they should be unaffected.
|
Thanks for the pull request, @vinhub! I've created OSPR-618 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the Github pull request interface. As a reminder, our process documentation is here. We can't start reviewing your pull request until you've submitted a signed contributor agreement or indicated your institutional affiliation and added yourself to the AUTHORS file. Please see the CONTRIBUTING file for more information. |
|
@vinhub Python social auth is already being updated as part of the work on SSO/Shibboleth on https://github.com/edx/edx-platform/pull/8140 - it would be important to sync up with @bradenmacdonald before considering merging this, especially as both rely on changes in the upstream project. |
|
@vinhub This will be a nice contribution! As @antoviaque mentioned, I've been doing a lot of work around third party auth as part of edX's Shibboleth/SSO project. If you're feeling a bit adventurous, you may want to try developing this on top of the code that's in #8155 (which includes other code from #8140). That code is still under review and on a separate feature branch, but we're hoping to get it all merged to
|
|
@vinhub thanks for your contributor's agreement! Can you please sync with @bradenmacdonald regarding your questions, and respond to his as well? Thanks! |
|
@sarina, @bradenmacdonald |
|
@vinhub can you explain your time pressure with a bit more detail? I don't know the background of this project. |
|
@sarina Our team (me, @vinhub , and others from http://www.MSOpenTech.com/ ) is trying to coordinate the available of this functionality with some other Microsoft + Educational OSS interoperability and announcements. If @bradenmacdonald 's #8155 gets picked-up in the next 5-7 days, that would be awesome. If it's more like 30+ days, that would be non-optimal for us. Thanks. |
|
@RobDolinMS - I understand you spoke with Beth last week regarding this pull request. Is there anything you need me to do as a follow up from that? |
|
@sarina - Thanks for checking. We've connected with @bradenmacdonald via email and I believe his changes will satisfy most of the goals of this PR. |
|
@RobDolinMS thanks for the update. Does this pull request still need to be reviewed, then, if Braden's changes will satisfy your requirements? |
|
@RobDolinMS great, thanks. Can this PR be closed, then? |
|
OK, I didn't receive a response and the PRs in question have been merged so I'm closing this. Thanks! |
|
Thanks for closing @sarina. |
…th2 provider and related changes
The code is working, but it is WIP because we have a couple of issues that we would like to get reviewed: