Skip to content

Conversation

AndreaGreco
Copy link
Contributor

Description of the Change

Some application, don't use user_info, and read directly by wellknow
Add to wellknow related key and changed class for support list and custom claims

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name in AUTHORS

@AndreaGreco AndreaGreco changed the title OpenID: Add claims to WellKNow OpenID: Add claims to Well know Apr 23, 2021
@auvipy auvipy requested a review from n2ygk April 24, 2021 10:08
@codecov
Copy link

codecov bot commented Apr 24, 2021

Codecov Report

Merging #967 (7cdd811) into master (fb60d04) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #967      +/-   ##
==========================================
+ Coverage   96.59%   96.62%   +0.02%     
==========================================
  Files          31       31              
  Lines        1732     1746      +14     
==========================================
+ Hits         1673     1687      +14     
  Misses         59       59              
Impacted Files Coverage Δ
oauth2_provider/oauth2_validators.py 93.56% <100.00%> (+0.13%) ⬆️
oauth2_provider/views/oidc.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb60d04...7cdd811. Read the comment docs.

Copy link
Contributor

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

this will also need a changelog entry and openid spec reference to understand the reasoning behind this change. can you do so pleas?

our custom validator::

our custom validator.
Standard claim ``sub`` is included by default, for remove it override ``get_claim_list``::
Copy link
Contributor

Choose a reason for hiding this comment

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

to remove it..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is StandardClaims, some application use it for discover available params.
My case application is https://docebo.com

As commented inside code:
https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims

Copy link
Contributor

Choose a reason for hiding this comment

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

The remark was about the preposition.

@auvipy auvipy removed the request for review from n2ygk October 19, 2021 06:18
@auvipy auvipy merged commit 3a9541f into django-oauth:master Nov 19, 2021
n2ygk added a commit to n2ygk/django-oauth-toolkit that referenced this pull request Jan 4, 2022
@n2ygk
Copy link
Contributor

n2ygk commented Jan 4, 2022

@AndreaGreco I've been forced to revert this PR because you changed the signature of get_additional_claims by dropping the request parameter. See #1066 for more details. The original reviewer should not have merged it.

Please review and resubmit a PR that doesn't change the signature and I'll be happy to review it. Thanks.

@Natureshadow
Copy link
Contributor

Also, please consider my comment: #1068 (comment)

n2ygk added a commit that referenced this pull request Jan 4, 2022
* #1066: Revert #967 which incorrectly breaks API.
n2ygk added a commit that referenced this pull request Jan 6, 2022
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.

5 participants