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

Optional refresh token in implicit grant #108

Merged
merged 1 commit into from
Dec 15, 2024
Merged

Conversation

PrieJos
Copy link
Contributor

@PrieJos PrieJos commented Nov 30, 2024

Solution proposal for issues: #98.

This commit includes additional logic to make the generation of refresh tokens optional in implicit grant flows so that this package becomes strictly compliant with the OAuth 2.0 specification in section 4.2. To see further information, please refer to issue #98.

To not break backward compatibility, this new option has been included as an new optional setting flag, ISSUE_REFRESH_TOKEN_IMPLICIT_GRANT, that when set to False, it deactivates the refresh token generation in implicit flows.

Solution proposal for issues: aliev#98.

This commit includes additional logic to make the generation
of refresh tokens optional in implicit grant flows so that this package
becomes strictly compliant with the OAuth 2.0 specification in section
4.2. To see further information, please refer to issue aliev#98.

To not break backward compatibility, this new option has been included
as an new optional setting flag, `ISSUE_REFRESH_TOKEN_IMPLICIT_GRANT`,
that when set to `False`, it deactivates the refresh token generation in
implicit flows.
@PrieJos PrieJos requested a review from aliev as a code owner November 30, 2024 17:50
Copy link

codecov bot commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.55%. Comparing base (533d8d8) to head (17e6642).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   94.49%   94.55%   +0.05%     
==========================================
  Files          17       17              
  Lines         763      771       +8     
  Branches      112      114       +2     
==========================================
+ Hits          721      729       +8     
  Misses         33       33              
  Partials        9        9              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aliev aliev merged commit 64769d8 into aliev:master Dec 15, 2024
7 checks passed
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.

2 participants