feat: allow configuring revocation of refresh tokens#213
feat: allow configuring revocation of refresh tokens#213chalasr merged 1 commit intothephpleague:masterfrom
Conversation
|
Can you rebase your PR and add a test case for this? |
|
Yes, will do. Please allow me some days to get back to this! 😄 |
|
Of course, thank you. |
0e7586f to
de2f214
Compare
|
Hey @chalasr I'm honestly struggling to execute the PHPUnit tests locally. Any tips, guide or README I can consult? |
|
@fschmtt Here you go, https://github.com/thephpleague/oauth2-server-bundle/blob/master/CONTRIBUTING.md#testing. |
|
Hey thanks for your reply. I got the local setup for running the tests working. I suppose you'd like me to to test that setting the option in the YAML configuration properly configures the I'm not super familiar with testing a bundle or its configuration and couldn't find a similar test case, so I'm a bit at loss how and where to start 😅 I'd appreciate a helping hand if possible. |
|
Oh wait, I overlooked the |
b3ea720 to
6b94e36
Compare
6b94e36 to
e238516
Compare
|
Thank you @fschmtt. |
adds a configuration for disabling revocation of refresh token after they were used. this configuration applies to all grant types that will be enabled.
complies with
league/oauth2-server: https://github.com/thephpleague/oauth2-server/blob/master/src/AuthorizationServer.php#L209-L215