[openstreetmap-website] Revoking oauth token (#1150)

Pavel ZbytovskĂ˝ notifications at github.com
Thu Feb 18 15:10:17 UTC 2016


You are right - but this [source](https://github.com/openstreetmap/openstreetmap-website/blob/77c25dca8c9b60c2fd8dae6eeee1405ec24edf27/app/controllers/oauth_controller.rb#L8-L11) authorizes the revoke endpoint only with session logged user.

If you wanted to enable OAuth authorized request as well, it would need calling [authorize](https://github.com/openstreetmap/openstreetmap-website/blob/5d3ecffa28510c867665001a7615559a185869c6/app/controllers/application_controller.rb#L170) method as well.

Do you think its possible to implement it?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1150#issuecomment-185762253
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160218/93ff84ec/attachment.html>


More information about the rails-dev mailing list