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

feat: allow oauth configuration per site and backend #542

Merged

Conversation

navinkarkera
Copy link
Member

@navinkarkera navinkarkera commented Jun 19, 2023

Allows admins to configure same oauth backend for multiple sites.

Private-ref: BB-7589

@navinkarkera navinkarkera self-assigned this Jun 19, 2023
@Agrendalath
Copy link
Member

@navinkarkera, please add a ticket number to this PR.

@navinkarkera
Copy link
Member Author

@Agrendalath Done.

@itsjeyd
Copy link
Member

itsjeyd commented Jul 4, 2023

Hey @navinkarkera, will you be opening a PR against upstream master with these changes?

@navinkarkera
Copy link
Member Author

@itsjeyd I am not sure whether we should upstream this. I think it would be useful. @kaustavb12 What do you think?

@Agrendalath
Copy link
Member

@navinkarkera,

I am not sure whether we should upstream this.

If we don't have a very good reason not to upstream it - yes, we should. Otherwise, we should look for another way to implement this - e.g., as a plugin/extension.

@navinkarkera
Copy link
Member Author

@Agrendalath I'll create a PR against master and wait for upstream reviewers comments.

@kaustavb12
Copy link
Member

@navinkarkera I don't see a reason not to upstream this.

Copy link
Member

@kaustavb12 kaustavb12 left a comment

Choose a reason for hiding this comment

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

👍

  • I tested this: Tested in devstack and in sandbox
  • I read through the code
  • I checked for accessibility issues
  • Includes documentation
  • I made sure any change in configuration variables is reflected in the corresponding client's configuration-secure repository.

@navinkarkera navinkarkera merged commit 236f7a5 into opencraft-release/nutmeg.2 Jul 7, 2023
30 checks passed
@navinkarkera navinkarkera deleted the navin/multisite-oauth-config branch July 7, 2023 08:41
kaustavb12 added a commit that referenced this pull request Aug 15, 2023
* feat: allow oauth configuration per site and backend

Allows admins to configure same oauth backend for multiple sites

(cherry picked from commit efd2ef9)

* fix: skip pipeline if oauth provider for site is not setup

(cherry picked from commit 29f8494)

* refactor: remove site_id from provider_id

(cherry picked from commit 236f7a5)

---------

Cherry pick of #542 

Upstream PR openedx#32656

[BB-7589](https://tasks.opencraft.com/browse/BB-7589)

---------

Co-authored-by: Navin Karkera <[email protected]>
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.

4 participants