Skip to content

Conversation

@hafezdivandari
Copy link
Contributor

@hafezdivandari hafezdivandari commented Dec 10, 2024

Related to #1465

  • Fix changelog entries.
  • Disable running code coverage on Windows.
  • Fix a bug where "Device Authorization" grant emits wrong events after access / refresh token is issued.
  • No event is emitted on "Implicit" grant after an access token is issued, unlike other grants!
    • This can't be fixed without changing the method signature which is a BC breaking change.
    • Add a TODO comment to be fixed on the next major release.
  • Add a TODO comment to fix a typo on the argument name of the \League\OAuth2\Server\Repositories\DeviceCodeRepositoryInterface::getDeviceCodeEntityByDeviceCode() method on the next major release: string $deviceCodeEntity -> string $deviceCode

Copy link
Member

@Sephster Sephster left a comment

Choose a reason for hiding this comment

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

Thanks for this @hafezdivandari and thanks for your ongoing work with the library. Would it be possible to add a test for the event emissions and a changelog entry? If you don't have time I can take a look at this. Thank you

@Sephster Sephster linked an issue Dec 20, 2024 that may be closed by this pull request
@hafezdivandari
Copy link
Contributor Author

hafezdivandari commented Dec 20, 2024

Sure @Sephster I'll complete this asap.

@hafezdivandari
Copy link
Contributor Author

@Sephster a changelog entry and tests for events have been added.

@hafezdivandari hafezdivandari mentioned this pull request Jan 13, 2025
9 tasks
@hafezdivandari
Copy link
Contributor Author

@Sephster please don't forget about this one, before release, thanks.

formatting

formatting

formatting

fix backward compatibility

bump lcobucci/jwt
@Sephster
Copy link
Member

Will be looking at this tonight/this weekend to get a new release tagged

Copy link
Member

@Sephster Sephster left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @hafezdivandari

@Sephster Sephster merged commit 9f02d67 into thephpleague:master Feb 14, 2025
23 of 27 checks passed
@hafezdivandari hafezdivandari deleted the master-fix-events branch February 14, 2025 22:22
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.

implicit flow doesn't emit RequestEvent::ACCESS_TOKEN_ISSUED

2 participants