-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Token Revocation question #806
Comments
I think it would be good to work towards this so would hope for it to be included in the future. Thanks for the suggestion |
I might try working on this for my own purposes. I can try to submit a PR if you want. I could add a Then, depending on the I think we'd also want to pass in a flag for whether to revoke the access token, when |
@jacobweber if you are going to submit a PR try to avoid code duplication and try to decouple the just my 0.002 cents ;-) |
Sure, if you don’t mind me moving that out of the Grant classes, and maybe into its own class, I can take that approach. |
Before I go ahead with writing tests and submitting a pull request, could I ask if this is something you're interested in at all, and if my approach in this commit is reasonable? It's based on master. Basically I did this:
|
Hi @jacobweber - this is definitely something I would like to add to the server so please feel free to submit a PR. Thanks! |
Hi @Sephster @jacobweber. I've already done it for the |
Thanks both for your offers of help with this. I think that Jacob's proposal would be more likely to be accepted. If my understanding of the RFC is correct, this change is adding an endpoint rather than a grant. Thanks both again for your offers of help here. |
No problem. I will try to work it up into a PR. I may steal some of @chervand's more mature code if he doesn't mind. |
@jacobweber I don't mind :) |
It's been a while, still I think that revoking the tokens should be part of this library (because it's pure pain to handle it outside of the library). The big question is: can we resurrect #995 or do we need an entirely new implementation? |
Probably can rectify. V9 is priority just now though. Then probably custom claims. |
Are you going to include something RFC7009 compliant to the lib that could be used in a straightforward way like
$server->respondToRevokeTokenRequest($request, $response);
?The text was updated successfully, but these errors were encountered: