Problem/Motivation
Issues such as #3263634: Introspection/debug response should be conform OAuth2 specs are blocked on 9.0 of the upstream library.
Has yet to be seen if this needs to be in a major or not? Guess it would depend on any major BC breaks in the library that cascade down to us.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork simple_oauth-3277256
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
idebr commentedOne test failure remaining
Comment #5
idebr commentedThe merge request updates thephpleague/oauth2-server to 9.0.x
Breaking changes are listed at the release page https://github.com/thephpleague/oauth2-server/releases/tag/9.0.0, but most notably:
Seems fine to include in the module's beta phase, but this is up to the module's maintainer
Comment #7
bojan_dev commentedLooks good, thanks!
Comment #9
m.stentaThe upgrade to
league/oauth2-server9.0 breaks the Password Grant module: #3511488: Refreshed access_token is missing scope with league/oauth2-server ^9Was any consideration given to this comment by @bradjones1 before this change was merged??
@bojan_dev PLEASE can we be more careful with these kinds of changes, and save them for major version releases?
I understand that the maintainers of
simple_oauthare not responsible for downstream projects likesimple_oauth_password_grant, but updating the major versions of core dependencies like this without tagging a new major version ofsimple_oauthprovides no indication to downstream dependencies, or site admins, that there are potentially breaking changes to consider.Comment #10
m.stentaSorry @idebr: I see that you outlined the breaking changes in your comment #5.
I disagree with this.
6.0.0 has been in "beta" since 2022. And we should absolutely be avoiding breaking changes, even in "beta" modules. That is what semantic versioning is for.
Please @bojan_dev can we drop the "beta" designation and adopt true semantic versioning policy moving forward?
Comment #11
m.stentaUpdate: The issue I described is fixed in #3509299: Return invalid_scope error when refresh token second time.
Thank you again @bojan_dev! So good to see 6.0.0 officially released! :-)