stormpath / express-stormpath

Build simple, secure web applications with Stormpath and Express!
http://docs.stormpath.com/nodejs/express/
Apache License 2.0
325 stars 111 forks source link

Add support for `/oauth/revoke` #591

Open the-overengineer opened 7 years ago

the-overengineer commented 7 years ago

Adds support for the /oauth/revoke endpoint, as prescribed by RFC 7009. Adds documentation and tests for this feature.

Important: This PR contains #550, because the behaviour contained there is crucial for the token workflow to work correctly with client credentials. Same as that PR, it requires https://github.com/stormpath/stormpath-sdk-node/pull/575 to be merged and released to work correctly!

Fixes #589