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(oauth): make discovery url and scope configurable per client and… #994

Merged
merged 3 commits into from
Dec 8, 2021

Conversation

Avantol13
Copy link
Contributor

… override defaults with configuration

New Features

Breaking Changes

Bug Fixes

Improvements

  • scopes and discovery_url are overridable per oauth client in the configuration

Dependency updates

Deployment changes

@github-actions
Copy link

github-actions bot commented Dec 7, 2021

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@coveralls
Copy link

coveralls commented Dec 7, 2021

Pull Request Test Coverage Report for Build 12098

  • 9 of 9 (100.0%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.009%) to 72.091%

Totals Coverage Status
Change from base Build 12020: 0.009%
Covered Lines: 6455
Relevant Lines: 8954

💛 - Coveralls

BinamB
BinamB previously approved these changes Dec 7, 2021
Copy link
Contributor

@BinamB BinamB left a comment

Choose a reason for hiding this comment

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

lgtm! 🚀

@@ -149,6 +151,7 @@ OPENID_CONNECT:
# ORCID.org. DO NOT include {{BASE_URL}} at ORCID.org, you need to actually put the
# full url
redirect_url: '{{BASE_URL}}/login/orcid/login/'
scope: 'openid'
# if mock is true, will fake a successful login response for login
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe orcid's discovery_url could be added here as well?

Copy link
Contributor

@BinamB BinamB left a comment

Choose a reason for hiding this comment

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

🚀

@Avantol13 Avantol13 merged commit eebad54 into master Dec 8, 2021
@Avantol13 Avantol13 deleted the feat/oauth-clients branch December 8, 2021 20:32
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.

None yet

5 participants